Change #274615
| Category | curl |
| Changed by | Graham Campbell <hello@gjcampbell.co.uk> |
| Changed at | Sun 12 Jul 2026 21:08:31 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 02214d98f7ae3e7dad099e807c1ed549ef551014 |
Comments
conncache: apply multi limits to transfers using a shared pool - Determine max host and total connection limits from the transfer's own multi handle and test that it works for shared connections. Prior to this change, since df67269 (precedes 8.13.0), Curl_cpool_check_limits() took the limits from the multi handle that owns the pool. A share-owned pool is not owned by any multi, so the limit check always passed. Prior to df67269 the limits came from the transfer's own multi handle. Fixes https://github.com/curl/curl/issues/22265 Closes https://github.com/curl/curl/pull/22266
Changed files
- docs/libcurl/opts/CURLSHOPT_SHARE.md
- lib/conncache.c
- tests/http/test_02_download.py
- tests/http/test_19_shutdown.py
- tests/libtest/cli_hx_download.c