cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Windows Multi-curl https curl request overshadowing http request

From: Vijay Panghal <vijay.panghal_at_gmail.com>
Date: Tue, 5 Feb 2013 00:14:57 -0800

I want to terminate as soon as I get response from either of the url. I do
not want to wait for response from other lazy url.

Is this semantics not supported with libcurl ?

On Mon, Feb 4, 2013 at 11:51 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 4 Feb 2013, Vijay Panghal wrote:
>
> In Pseudo Form it goes something like this
>>
>
> // Read multi_info_read for ant valid handle
>> if ((curlHandle = getAvailableHandleState()) != NULL) {
>> // We found the response, from handle, start using it
>> break;
>>
>
> I think I would blame this logic. Why would it ever "break" until all the
> transfers have reported themselves completed and done?
>
>
> --
>
> / daniel.haxx.se
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-05