On Mon, 21 Sep 2020, Hadi Rezaee wrote:
Then threads will look into the list to find a curl-handler that its mutex is not locked, and then use the free curl-handler to submit the request (perform()) And finally when we're done with a handler, we'd "call curl_easy_reset".
That doesn't quite explain why they don't reuse connections to a higher degree though... I would recommend you look into that. You should also get a significant performance increase if you fix that.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html