On Fri, 4 Mar 2022, vin9999 via curl-library wrote:

Would like to ask if it is possible to set a different connecttimeout for the proxy connection vs the actual url connection. Would like to distinguish between them, in some way.

Incase of PHP
CURLOPT_URL
CURLOPT_PROXY
CURLOPT_CONNECTTIMEOUT -> they seem to share the same value.

Your program knows when it sets a proxy, so why can't your program just set a different timeout value then?

--

 / 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