cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: slow uploading speed for single task on osx

From: Yehezkel Horowitz <horowity_at_checkpoint.com>
Date: Thu, 5 Dec 2013 10:22:18 +0000

>> The lib curl version is 7.26. And because the code concerning about
>> lib curl is deeply embedded into the solution, it might be a little
>> bit hard to extract the complete sample code to repeat the problem :(

>The multi interface has nothing in itself that makes it slower than the easy interface (unless you've found a bug). I would say that it is likely something in your use of it that makes it slow.

Maybe when there are more than one transfer, the application call curl_multi_perform or curl_multi_socket_action more frequently.
This is indeed wrong usage, as the calls should be done according to events (socket/timeout).

Please give us more details when you call curl_multi_perform/curl_multi_socket_action from your code (what is the trigger to those calls), and when you call it with CURL_SOCKET_TIMEOUT...

Regards,

Yehezkel Horowitz

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-05