On Tue, 13 Mar 2018, Oleg Pekar (olpekar) wrote:

curl_global_cleanup() always shuts down openssl and calls openssl cleanup that frees all openssl internal structures. So if I’m using openssl and curl both independently from my application then after calling curl_global_cleanup () my application will loose all openssl structures created with no relation to libcurl. Is there a native way to prevent libcurl to cleanup openssl on libcurl cleanup?

That's basically what CURL_GLOBAL_SSL was for, and which we removed/broke back with multissl support and the subsequent issue #2107. This is also reported in #2276.

Personally I haven't figured out what the best way forward on this issue is, and nobody else seems to either.

Suggestions? (and I'm then meaning from anyone reading this)



 / daniel.haxx.se
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to