Closed
Description
Libcurl by default adds a signal handler. This can cause very hard to debug errors in multithreaded applications as it is not well defined which thread will receive the signal.
Consider adding CURLOPT_NOSIGNAL to the options given to curl_easy_setopt to avoid this behaviour.
See here for more information:
https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
I can make a pull request if you prefer, but this should be extremely simple to add.