curl / Mailing Lists / curl-library / 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: Max connections per peer / IP

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 30 Oct 2025 20:11:31 +0100 (CET)

On Thu, 30 Oct 2025, Stefan Eissing via curl-library wrote:

> Pondering it, I see no easy way to add that in the current connection
> handling. Certainly not impossible, but not trivial either.

Yeah, complicated.

When getting IPs for a hostname to connect to, we'd need to filter off the
ones already at max, which could make us end up with no IPs or just IPs that
fail - which then presumable would not be treated as "real" connection
failures but would put the transfer in a waiting queue instead.

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-10-30