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:
SteelT 2022-11-01 18:49:42 -04:00 committed by NepDisk
parent 1fc0499d7e
commit a68e6fb10c

View file

@ -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
{