Set curl nosignal option.
It fixes the crash under cygwin and should also fix a crash when c-ares/threaded resolver are not available in curl library. Fixes #2753
This commit is contained in:
parent
a1e8cb8acd
commit
fea3b1b3e5
@ -170,6 +170,7 @@ namespace Online
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_CONNECTTIMEOUT, 20);
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_LOW_SPEED_LIMIT, 10);
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_LOW_SPEED_TIME, 20);
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_NOSIGNAL, 1);
|
||||
//curl_easy_setopt(m_curl_session, CURLOPT_VERBOSE, 1L);
|
||||
if (m_url.substr(0, 8) == "https://")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user