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

Reply via email to