curl / Mailing Lists / curl-and-php / 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.

different connect timeout for proxy and for url

From: vin9999 via curl-and-php <curl-and-php_at_lists.haxx.se>
Date: Thu, 03 Mar 2022 16:35:48 +0000

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
curl-and-php_at_lists.haxx.se
https://lists.haxx.se/listinfo/curl-and-php
Received on 2022-03-03