From 809c8f56e2a3f613d176185dc118e757b19fdff4 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Wed, 20 Dec 2017 14:45:18 +0000 Subject: [PATCH] Added CURLOPT_NOSIGNAL to the cURL configuration --- modules/juce_core/native/juce_curl_Network.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/juce_core/native/juce_curl_Network.cpp b/modules/juce_core/native/juce_curl_Network.cpp index 7e6518f739..0e9927462c 100644 --- a/modules/juce_core/native/juce_curl_Network.cpp +++ b/modules/juce_core/native/juce_curl_Network.cpp @@ -149,6 +149,7 @@ public: if (curl_easy_setopt (curl, CURLOPT_URL, address.toRawUTF8()) == CURLE_OK && curl_easy_setopt (curl, CURLOPT_WRITEDATA, this) == CURLE_OK && curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, StaticCurlWrite) == CURLE_OK + && curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1) == CURLE_OK && curl_easy_setopt (curl, CURLOPT_MAXREDIRS, static_cast (maxRedirects)) == CURLE_OK && curl_easy_setopt (curl, CURLOPT_USERAGENT, userAgent.toRawUTF8()) == CURLE_OK && curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, (maxRedirects > 0 ? 1 : 0)) == CURLE_OK)