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 toaster
parent 923c698898
commit 7c528ead80

View file

@ -1799,6 +1799,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
{