cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Is there an easy way to separate request / response processing with libCurl?

From: Alan Wolfe <alan.wolfe_at_gmail.com>
Date: Fri, 27 Jan 2012 13:29:10 -0800

Thanks Daniel!

On Fri, Jan 27, 2012 at 1:23 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Fri, 27 Jan 2012, Alan Wolfe wrote:
>
> But, I personally use curl_multi_info_read
>> http://curl.haxx.se/libcurl/c/**curl_multi_info_read.html<http://curl.haxx.se/libcurl/c/curl_multi_info_read.html>to get information
>> about which requests are done. I'm not 100% sure if you are garaunteed to
>> get a message per handle though
>>
>
> It is and you will.
>
>
> I'm kind of curious too about the "best practices" for detecting which easy
>> handle has been completed, when multiple are added to a multi handle.
>>
>
> curl_multi_info_read is that way. In modern libcurl versions it is also
> very fast no matter how many handles you're using.
>
> --
>
> / 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 2012-01-27