| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Detecting request completion with asynchronous interface
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Mar 2009 16:31:30 +0100 (CET)
On Mon, 9 Mar 2009, bp wrote:
>> The primary hint: the 'running_handles' counter decreases.
> Using that counter seemed unreliable since maybe it could have been both
Right, used that way I think the curl_multi_info_read() is most reliable. It
> Or maybe create many multi handles that each service one easy request ... I
It is probably better with the single multi handle as then you'll gain from
> It sounds like we need to check for completion anywhere a running_handles is
You shouldn't (need to) use curl_multi_socket_all() at all actually (unless
> 2) After detecting socket activity and called curl_multi_socket_action()
I think you can simplify by simply always call curl_multi_info_read()
-- / daniel.haxx.seReceived on 2009-03-09 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info