curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. 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 Daniel himself.

Re: Any way to set connect-timeout per-IP, not global?

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Fri, 11 Oct 2024 23:32:56 +0200 (CEST)

On Fri, 11 Oct 2024, ValdikSS via curl-users wrote:

> Currently curl, when used with --connect-timeout option, uses it as a global
> timeout for the whole connection set, decreasing the timeout for each IP
> address in half every connection attempt.

When you use curl 8.3.0 or later, curl stops the timeout halving when there is
less than 600 milliseconds left.

-- 
  / 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/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-10-11