Add separate download timeout to allow download of bigger files or on low bandwidth lines
This commit is contained in:
@@ -523,6 +523,7 @@ bool GUIEngine::downloadFile(std::string url,std::string target)
|
||||
HTTPFetchResult fetchresult;
|
||||
fetchrequest.url = url;
|
||||
fetchrequest.caller = HTTPFETCH_SYNC;
|
||||
fetchrequest.timeout = g_settings->getS32("curl_file_download_timeout");
|
||||
httpfetch_sync(fetchrequest, fetchresult);
|
||||
|
||||
if (fetchresult.succeeded) {
|
||||
|
||||
Reference in New Issue
Block a user