LibURL and TSNet in LC Indy

Tom Glod tom at makeshyft.com
Mon Aug 17 18:23:32 EDT 2020


Thank you sir. That worked.

I will try to diagnose the difference between the 2 libraries in this
scenario...... if only to understand why its happening and not get burned
elsewhere.

Thanks.

Tom



On Mon, Aug 17, 2020 at 4:41 PM Ralph DiMola via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Tom,
>
> Your problem with tsNet could be a timeouts. See tsNetSetTimeouts
>
> Disable tsNet:
> dispatch "revunloadlibrary" to stack tsnetliburl
>
> Enable tsNet:
> dispatch "revloadlibrary" to stack tsnetliburl
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
>
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On
> Behalf
> Of Tom Glod via use-livecode
> Sent: Monday, August 17, 2020 4:32 PM
> To: How to use LiveCode
> Cc: Tom Glod
> Subject: LibURL and TSNet in LC Indy
>
> Hi Folks,
>
> I am  stress testing a rest api using liburl, I will also do TSNET
>
> But when I open my stack in Livecode Indy, the load URL command uses TSNET
>
> Whats funny is that half the requests are failing when it tries to use
> TSNET. With liburl, 100% success rate using LC Community.
>
> I am also calling a custom liburlcallback handler.
>
> Is there any way to prevent indy from using TSNET by default?
>
> Thanks
>
> Tom
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411



More information about the use-livecode mailing list