- now all libcurl calls support http redirection

This commit is contained in:
Mark Vejvoda 2011-03-25 19:19:59 +00:00
parent 1a783b3bba
commit fcb1681de9
2 changed files with 2 additions and 2 deletions

View File

@ -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());
}
}

View File

@ -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;
}