- now all libcurl calls support http redirection
This commit is contained in:
parent
1a783b3bba
commit
fcb1681de9
|
@ -494,8 +494,7 @@ void MenuStateMods::getMapsLocalList() {
|
||||||
results2.clear();
|
results2.clear();
|
||||||
copy(allMaps2.begin(), allMaps2.end(), std::back_inserter(results2));
|
copy(allMaps2.begin(), allMaps2.end(), std::back_inserter(results2));
|
||||||
mapFilesUserData = 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__);
|
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_NOSIGNAL, 1);
|
||||||
|
curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1);
|
||||||
return handle;
|
return handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user