Avoid alarm/signals from curl (probably fix #679)

This commit is contained in:
David Capello 2015-05-28 09:12:26 -03:00
parent 4940b2bf3e
commit 0fcb345f36

View File

@ -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()