curl-library
Re: curl_multi_perform will never return CURLM_CALL_MULTI_PERFORM (and suggested fix)
Date: Sat, 4 Aug 2012 18:36:20 -0700 (PDT)
Oops yes sorry,
I was only thinking of the non-error return codes: CURLM_OK and CURLM_CALL_MULTI_PERFORM
Alan
________________________________
From: Daniel Stenberg <daniel_at_haxx.se>
To: Alan <jkabeal-curl_at_yahoo.com>; libcurl development <curl-library_at_cool.haxx.se>
Sent: Saturday, August 4, 2012 2:51 PM
Subject: Re: curl_multi_perform will never return CURLM_CALL_MULTI_PERFORM (and suggested fix)
On Fri, 3 Aug 2012, Alan wrote:
> Prior to 7.20.0 there were only two return codes from curl_multi_perform:
What makes you think this? I can count to 8 return codes defined in the header.
> If CURLM_CALL_MULTI_PERFORM is no longer returned from curl_multi_perform, how do I know if curl_multi_perform needs to be called again? i.e. there is more pending data to transfer now?
It will never return with more data pending to deal with.
> Sounds like moving past 20.0.0 will significantly change my logic.
Not at all. The same logic still works.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-05