diff --git a/src/http/libcurl_http_client.cpp b/src/http/libcurl_http_client.cpp index f03c967..c0ff0a6 100644 --- a/src/http/libcurl_http_client.cpp +++ b/src/http/libcurl_http_client.cpp @@ -9,6 +9,7 @@ namespace azure { namespace storage_lite { CurlEasyRequest::CurlEasyRequest(std::shared_ptr client, CURL *h) : m_client(client), m_curl(h), m_slist(NULL) { + check_code(curl_easy_setopt(m_curl, CURLOPT_NOSIGNAL, 1L)); check_code(curl_easy_setopt(m_curl, CURLOPT_HEADERFUNCTION, header_callback)); check_code(curl_easy_setopt(m_curl, CURLOPT_HEADERDATA, this)); }