]> git.ipfire.org Git - thirdparty/curl.git/commit
conncache: count shutdowns against host and max limits
authorStefan Eissing <stefan@eissing.org>
Tue, 31 Dec 2024 15:24:46 +0000 (16:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Jan 2025 22:10:23 +0000 (23:10 +0100)
commitbd3c027ac94f3354f82dadcc683b0124cbe4c230
tree031f728fcd42844e9b8272ceb9393ead8da53819
parent508861eb80a6bd06abba9c07fff948305383354a
conncache: count shutdowns against host and max limits

Count connections to a host against a possibly configured destination
limit. Trigger multi `connchange` when a connection has been shutdown,
so pending transfers can try to get a connection once again.

Reported-by: baranyaib90 on github
Fixes #15857
Closes #15879
lib/conncache.c
lib/multi.c
lib/multihandle.h
tests/http/clients/hx-download.c
tests/http/test_02_download.py