mirror of
https://github.com/glest/glest-source.git
synced 2025-08-28 10:19:55 +02:00
- turned on a flag for libcurl so timeout issues don't cause segfaults in threads
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user