Skip to content

Commit af82e75

Browse files
committed
Set the libcurl option CURLOPT_NOSIGNAL on every request made to fix #179.
1 parent da7fd20 commit af82e75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/http-worker/src/minko/net/HTTPRequest.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ createCurl(const std::string& url,
147147
if (!verifyPeer)
148148
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
149149

150+
// https://git.aerys.in/aerys/smartshape-engine/issues/179
151+
// https://stackoverflow.com/a/10755612/7512344
152+
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);
153+
150154
// POST method
151155
if (!postFields.empty())
152156
{

0 commit comments

Comments
 (0)