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
parent 17444e195d
commit 74421b7700

View file

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