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: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 25 Sep 2022 15:41:18 +0200 (CEST)

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).

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-09-25