cURL / Mailing Lists / curl-library / Single Mail

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:54:14 +0200 (CEST)

On Fri, 3 Aug 2012, Alan wrote:

> If there are a lot of  easy handles in a multi_stack and multi.c just loops
> internally until there is no more data to transfer, the application could
> act like it is not responding for short periods of time. i.e. as long as any
> easy handle needs to process data, multi interface is blocking. Please
> correct me if I am wrong.

It's not correct, as it will only loop through all easy handles exactly once.

Also, note that the curl_multi_socket_action() API is the high performance
function.

-- 
  / 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-04