From 0fcb345f36a1b3849da1846e293d92bc707c2015 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 28 May 2015 09:12:26 -0300 Subject: [PATCH] Avoid alarm/signals from curl (probably fix #679) --- src/net/http_request.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/http_request.cpp b/src/net/http_request.cpp index 76d8877e3..a8012c970 100644 --- a/src/net/http_request.cpp +++ b/src/net/http_request.cpp @@ -29,6 +29,7 @@ public: curl_easy_setopt(m_curl, CURLOPT_WRITEDATA, this); curl_easy_setopt(m_curl, CURLOPT_WRITEFUNCTION, &HttpRequestImpl::writeBodyCallback); curl_easy_setopt(m_curl, CURLOPT_URL, url.c_str()); + curl_easy_setopt(m_curl, CURLOPT_NOSIGNAL, 1); } ~HttpRequestImpl()