diff --git a/Frameworks/network/src/download.cc b/Frameworks/network/src/download.cc index 7cba0940..9d676e5e 100644 --- a/Frameworks/network/src/download.cc +++ b/Frameworks/network/src/download.cc @@ -150,6 +150,7 @@ namespace network curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, true); curl_easy_setopt(handle, CURLOPT_FAILONERROR, true); curl_easy_setopt(handle, CURLOPT_ENCODING, ""); + curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1); std::string const userAgent = request._user_agent == NULL_STR ? create_agent_info_string() : request._user_agent; curl_easy_setopt(handle, CURLOPT_USERAGENT, userAgent.c_str()); diff --git a/Frameworks/network/src/download_tbz.cc b/Frameworks/network/src/download_tbz.cc index a073d350..71130fbd 100644 --- a/Frameworks/network/src/download_tbz.cc +++ b/Frameworks/network/src/download_tbz.cc @@ -131,6 +131,7 @@ namespace network curl_easy_setopt(handle, CURLOPT_FAILONERROR, true); curl_easy_setopt(handle, CURLOPT_ENCODING, ""); curl_easy_setopt(handle, CURLOPT_USERAGENT, create_agent_info_string().c_str()); + curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1); char errorbuf[CURL_ERROR_SIZE]; curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, errorbuf); diff --git a/Frameworks/network/src/post.cc b/Frameworks/network/src/post.cc index 7197f368..c02620dd 100644 --- a/Frameworks/network/src/post.cc +++ b/Frameworks/network/src/post.cc @@ -58,6 +58,7 @@ long post_to_server (std::string const& url, std::map curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, errorbuf); curl_easy_setopt(handle, CURLOPT_FAILONERROR, true); + curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1); if(headersOut) {