curl-library
Re: curl_multi_perform will never return CURLM_CALL_MULTI_PERFORM (and suggested fix)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 4 Aug 2012 20:51:21 +0200 (CEST)
Date: Sat, 4 Aug 2012 20:51:21 +0200 (CEST)
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.htmlReceived on 2012-08-04