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: A single request in loop on macOS

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 20 Mar 2024 23:39:44 +0100 (CET)

On Wed, 20 Mar 2024, Dmitry Karpov via curl-library wrote:

> "To me, that indicates that a resource of some sort has run out, which
> possibly makes curl fail to create the new socket."
>
> I think it is fair to expect that if libcurl fails to create a new socket,
> then it will fail the transfer instantly with an error code different from
> timeout, isn't it?

The output he showed from his program said error code 7, that is
CURLE_COULDNT_CONNECT. Not a timeout.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-03-20