curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Couldn't connect to host (err: 7)

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 21 Sep 2020 11:20:35 +0200 (CEST)

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
Received on 2020-09-21