]> git.ipfire.org Git - thirdparty/curl.git/commit
cpool/cshutdown: force close connections under pressure
authorStefan Eissing <stefan@eissing.org>
Fri, 11 Apr 2025 10:05:05 +0000 (12:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 11 Apr 2025 20:46:56 +0000 (22:46 +0200)
commitff37657e4d94cf4db80ab9652ae8e6acb84f3019
tree5c7fae84e89ca2a485fb7adb4d77bde1a9453618
parent9f8bdd0eae5c1d441d9d901a7cf917a8ee215c7f
cpool/cshutdown: force close connections under pressure

when CURLMOPT_MAX_HOST_CONNECTIONS or CURLMOPT_MAX_TOTAL_CONNECTIONS
limits are reached, force close connections in shutdown to go below
limit when possible.

Fixes #17020
Reported-by: Fujii Hironori
Closes #17022
lib/conncache.c
lib/cshutdn.c
lib/cshutdn.h
lib/url.c
tests/http/test_19_shutdown.py