curl-library
Re: Is there an easy way to separate request / response processing with libCurl?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 27 Jan 2012 22:23:19 +0100 (CET)
Date: Fri, 27 Jan 2012 22:23:19 +0100 (CET)
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 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 Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-01-27