Skip to content

Commit

Permalink
Set curl_failedwebdownload to true for corrupt or modified HTTP downl…
Browse files Browse the repository at this point in the history
…oads.

So that it actually falls back to direct downloading
  • Loading branch information
SteelT1 committed Nov 1, 2022
1 parent 17444e1 commit 74421b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/d_netfil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 74421b7

Please sign in to comment.