Non-blocking URL commands

Jan Schenkel janschenkel at yahoo.com
Mon Nov 19 17:11:18 EST 2012


Hmm, that's odd - the code looks essentially the same as for libURL.
Would you mind emailing me your test script so I can try and debug it?

Jan Schenkel.
 
=====
Quartam Reports & PDF Library for LiveCode
www.quartam.com


=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


----- Original Message -----
From: Andrew Kluthe <andrew at ctech.me>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: 
Sent: Monday, November 19, 2012 5:19 PM
Subject: Re: Non-blocking URL commands

Hmmm. I gave that a whirl and am still getting an empty payload on
windows 7 (the only machine I have 5.5 on, I might try saving it to
legacy format and giving it a whirl on another machine). Do I have to
configure some kind of SSL Cert to use SSL even when it's unverified?

It isn't super important that I get this working right now, but in the
future it could save me some headaches of wrapping around CURL.

I wish I were more familiar with socket programming in rev and socket
programming in general. What I really need to do is write a native
MongoDB driver for livecode, so I don't have to use a REST interface.
The specifications are laid out very nicely, but unfortunately it is
just outside of my current skillset.

Kind regards,

Andrew

On Sun, Nov 18, 2012 at 2:39 PM, Jan Schenkel <janschenkel at yahoo.com> wrote:
> Yup, it should work pretty much the same and is called (rather unimaginatively):
> qrtHTTP_SetSSLVerification [true|false]
>
> HTH,
>
> Jan Schenkel.
> =====
> Quartam Reports & PDF Library for LiveCode
> www.quartam.com
>
>
> =====
> "As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)
>
>
> ----- Original Message -----
> From: Andrew Kluthe <andrew at ctech.me>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Cc:
> Sent: Sunday, November 18, 2012 8:36 PM
> Subject: Re: Non-blocking URL commands
>
> Jan,
>
> Is there an equivalent to libUrlSetSSLVerification false with your
> library? The rest interface I want to run some tests against uses SSL,
> but the only workaround I had with rev to get it to work on certain
> machines was to do that.
>
> Andrew
>
> On Sun, Nov 18, 2012 at 12:56 PM, Andrew Kluthe <andrew at ctech.me> wrote:
>> Going to check this out. I am only really looking for desktop support
>> for now, but I was looking at libRevCurl from the late Mark Smith. Let
>> me take a look at this. It certainly looks promising.
>>
>> Kind regards,
>>
>> Andrew
>> On Sun, Nov 18, 2012 at 8:33 AM, Jan Schenkel <janschenkel at yahoo.com> wrote:
>>> Hi Andrew,
>>>
>>> I took a stab at an asynchronous HTTP library a while back.
>>> You can download the current version at: <http://downloads.quartam.com/libqrthttp_030_xplatform.zip>
>>> Note that it is based on raw socket communication so only available for the desktop engines, not the mobile or server engines.
>>> And it is by no means feature-complete; I've been experimenting with authentication but that stuff isn't ready just yet.
>>> If you find it useful, and wish to collaborate on its development, join the Quartam forums at <http://forums.quartam.com>
>>>
>>> Cheers,
>>>
>>> Jan Schenkel.
>>>
>>> =====
>>> Quartam Reports & PDF Library for LiveCode
>>> www.quartam.com
>>>
>>>
>>> =====
>>> "As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)
>>>
>>>
>>>
>>> ----- Original Message -----
>>> From: Andrew Kluthe <andrew at ctech.me>
>>> To: How to use LiveCode <use-livecode at lists.runrev.com>
>>> Cc:
>>> Sent: Friday, November 16, 2012 10:30 PM
>>> Subject: Non-blocking URL commands
>>>
>>> Man oh man, wouldn't it be nice to have a non-blocking http
>>> implementation in livecode? Certain REST api calls with some services
>>> I use can lock and crash my applications if it takes to long to get a
>>> full response. Has this ever been something runrev has mentioned or
>>> talked about?
>>>
>>> --
>>> Regards,
>>>
>>> Andrew Kluthe
>>> andrew at ctech.me
>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
>> --
>> Regards,
>>
>> Andrew Kluthe
>> andrew at ctech.me
>
>
>
> --
> Regards,
>
> Andrew Kluthe
> andrew at ctech.me
>
> _______________________________________________
> 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



-- 
Regards,

Andrew Kluthe
andrew at ctech.me

_______________________________________________
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





More information about the use-livecode mailing list