On Thu, 13 Jan 2022, Gavin Henry via curl-library wrote:
curl_global_init(CURL_GLOBAL_ALL); always be used?
It should be used, yes. If it isn't, it will be call it for you, but then it will be called in "a less controlled way" where the usage restrictions for curl_global_init are harder to be in control of.
docs/examples/simple.c
I've purposedly avoided that call in that example just to keep it minimal. -- / 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.haxx.se/mail/etiquette.html