On Sat, 24 Sep 2022, Patrick Monnerat via curl-library wrote:
I just noticed curl_version_info() is not thread-safe when compiled with
multi-ssl backends because the HTTPS-proxy feature bit is computed at
run-time and may change between calls.
This is the case until the effective SSL backend is selected
(curl_global_sslset() or curl_global_init()).
Except of course that curl_global_sslset is documented to:
"This function can only be used to select an SSL backend once, and it must be
called before curl_global_init."
... and if that is followed, how can it change?
--
/ 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