Using libcurl in another library, when/if to call curl_global_init?

Daniel Stenberg daniel@haxx.se
Tue Apr 5 15:36:08 GMT 2022


On Thu, 31 Mar 2022, Mark Wielaard via curl-library wrote:

> But we are struggling a bit with how to safely/correctly initialize libcurl.

Are you struggling to meet the requirement as per the documentation or are you 
seeing actual runtime issues?

There isn't much left in the third party libraries that isn't threadsafe so 
I'm quite interested in knowing. The "not thread-safe" part is mostly 
theoretic now with modern versions of libraries (such as OpenSSL).

-- 

  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html


More information about the Elfutils-devel mailing list