Skip to content

async-thrdd: use thread queue/pool#20936

Closed
icing wants to merge 3 commits intocurl:masterfrom
icing:async-thrdq
Closed

async-thrdd: use thread queue/pool#20936
icing wants to merge 3 commits intocurl:masterfrom
icing:async-thrdq

Conversation

@icing
Copy link
Copy Markdown
Contributor

@icing icing commented Mar 16, 2026

async-thrdd: use thread queue for resolving

Use a thread queue and pool for asnyc threaded DNS resolves.
Add pytest test_21_* for verification.

Add CURLMOPT_RESOLVE_THREADS_MAX to allow applications to
resize the thread pool used.

Add CURLMOPT_QUICK_EXIT to allow applications to skip thread
joins when cleaning up a multi handle. Multi handles in
curl_easy_perform() inherit this from CURLOPT_QUICK_EXIT.

Add several debug environment variables for testing.

@github-actions github-actions bot added the tests label Mar 16, 2026
@icing icing force-pushed the async-thrdq branch 2 times, most recently from 9320507 to 2f6de78 Compare March 18, 2026 11:06
Use a thread queue and pool for asnyc threaded DNS resolves.
Add pytest test_21_* for verification.

Add `CURLMOPT_RESOLVE_THREADS_MAX` to allow applications to
resize the thread pool used.

Add `CURLMOPT_QUICK_EXIT` to allow applications to skip thread
joins when cleaning up a multi handle. Multi handles in
`curl_easy_perform()` inherit this from `CURLOPT_QUICK_EXIT`.

Add several debug environment variables for testing.
@icing icing requested a review from bagder March 24, 2026 12:19
@icing icing marked this pull request as ready for review March 24, 2026 12:19
@bagder bagder closed this in 39036c9 Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants