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

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2022-09-25