curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: Three fixes for a share's connection pool used from several threads

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 1 Dec 2026 17:02:54 +0100 (CET)

On Tue, 1 Dec 2026, Detlev Stalling via curl-library wrote:

> - Would you take these as pull requests, one per change?

We prefer separate PRs if the changes are indeed independent and stand-alone.

I'm a little puzzled by these proposed changes. You are knowingly using an API
in a way that is documented as not supported, and by changing the code
*slightly* you make it work for your use case, but you still don't want to
make it thread-safe so that we can update the documentation.

So what is your new test(s) going to verify when it comes to using the
connection pool in a threaded scenario that's not guaranteed to work according
to the documentation?

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-12-01