thrdpool: retry failed thread starts while items wait

Verified in test 3306

Closes #22303
This commit is contained in:
Graham Campbell 2026-07-12 03:58:19 +01:00 committed by Daniel Stenberg
parent dfc01ea2a3
commit 4dc236a109
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 234 additions and 4 deletions

View file

@ -197,6 +197,11 @@ eligible for negative DNS caching, instead of a transient failure.
Make libcurl fail a resolve for IPv6 only.
## `CURL_DBG_THRDPOOL_FAIL_STARTS`
Fail this many thread starts in a thread pool, as if the system
refused to spawn more threads. Read when the pool is created.
## `CURL_QUICK_EXIT`
Make `curl` use the quick exit option, even when built in debug mode.