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: Fri, 4 Mar 2022 22:34:53 +0100 (CET)

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
Received on 2022-03-04