mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 23:21:19 +02:00
- now all libcurl calls support http redirection
This commit is contained in:
@@ -494,8 +494,7 @@ void MenuStateMods::getMapsLocalList() {
|
||||
results2.clear();
|
||||
copy(allMaps2.begin(), allMaps2.end(), std::back_inserter(results2));
|
||||
mapFilesUserData = results2;
|
||||
|
||||
printf("\n\nMap path [%s] mapFilesUserData.size() = %d\n\n\n",path.c_str(),mapFilesUserData.size());
|
||||
//printf("\n\nMap path [%s] mapFilesUserData.size() = %d\n\n\n",path.c_str(),mapFilesUserData.size());
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -176,6 +176,7 @@ CURL *SystemFlags::initHTTP() {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d] ERROR handle = NULL\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
}
|
||||
curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1);
|
||||
curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1);
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user