different connect timeout for proxy and for url

vin9999 via curl-and-php <[email protected]> Thu, 03 Mar 2022 16:35:48 +0000
Newsgroups gmane.comp.web.curl.php
Message-ID <3YkIDOcZqKfK3VoLrY9_CQjL683xjLLWNrylUOweTP7K4GQV2TUdZc61hgadvq837eSDJuneLTIRR_OK_-oZjLgb2V_M-72dP7JzVk2UJfY=@protonmail.com>
Hello,

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.

Thank you,
V.
-- 
curl-and-php mailing list
[email protected]
https://lists.haxx.se/listinfo/curl-and-php