Re: Max connections per peer / IP

Daniel Stenberg via curl-library <[email protected]> Thu, 30 Oct 2025 20:11:31 +0100 (CET)
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
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