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: connectimeout

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 6 Mar 2022 22:48:31 +0100 (CET)

On Sun, 6 Mar 2022, vin9999 wrote:

> We use the php curl functions
> curl 7.29.0

That's a version over nine years old, so you might find that a modern version
might act slightly better. But it also struck me that for your examples you
probably still will get CURLE_OPERATION_TIMEDOUT errors if the operation takes
longer than 3 seconds and your timeout then aborts the transfer attempt.

I don't think another CURLOPT_CONNECTTIMEOUT version would help you either
since in the case of using a proxy, a client like curl can't tell exactly
which one that is slow; the proxy or the remote server.

-- 
  / 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/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-03-06