diff --git a/source/shared_lib/sources/util/util.cpp b/source/shared_lib/sources/util/util.cpp index 48d65529..cafd06cf 100644 --- a/source/shared_lib/sources/util/util.cpp +++ b/source/shared_lib/sources/util/util.cpp @@ -125,6 +125,8 @@ std::string SystemFlags::getHTTP(std::string URL,CURL *handle,int timeOut) { } curl_easy_setopt(handle, CURLOPT_CONNECTTIMEOUT, timeOut); + curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1); + /* get contents from the URL */ CURLcode result = curl_easy_perform(handle); SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d] return code [%d] [%s]\n",__FILE__,__FUNCTION__,__LINE__,result,errbuf);