From a68e6fb10c67c744fda57fe3cd9fb478e231798f Mon Sep 17 00:00:00 2001 From: SteelT Date: Tue, 1 Nov 2022 18:49:42 -0400 Subject: [PATCH] Set curl_failedwebdownload to true for corrupt or modified HTTP downloads. So that it actually falls back to direct downloading --- src/d_netfil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/d_netfil.c b/src/d_netfil.c index 5c0bac72c..ee75f8efd 100644 --- a/src/d_netfil.c +++ b/src/d_netfil.c @@ -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 {