Set curl_failedwebdownload to true for corrupt or modified HTTP downloads.
So that it actually falls back to direct downloading
This commit is contained in:
parent
1fc0499d7e
commit
a68e6fb10c
1 changed files with 1 additions and 0 deletions
|
|
@ -1814,6 +1814,7 @@ void CURLGetFile(void)
|
|||
{
|
||||
CONS_Alert(CONS_ERROR, M_GetText("HTTP Download of %s finished but is corrupt or has been modified\n"), filename);
|
||||
curl_curfile->status = FS_FALLBACK;
|
||||
curl_failedwebdownload = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue