curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: curl_version_info() thread-safety

From: Patrick Monnerat via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 25 Sep 2022 16:00:22 +0200

On 9/25/22 15:41, Daniel Stenberg wrote:
> On Sun, 25 Sep 2022, Patrick Monnerat wrote:
>
> Good research and findings!
>
>> I see only 2 solutions to this:
>>
>> 1) Consider multiSSL as a backend on its own that do not support
>> HTTPS-proxy. Even after setting the real backend.
>>
>> 2) Document curl_version_info() as not threadsafe until
>> curl_global_init() is called.
>
> I personally prefer (2).
If no objection, i will do 2) within my current draft PR
https://github.com/curl/curl/pull/9583
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-09-25