From: Debian Rust Maintainers Date: Thu, 14 Jul 2022 11:17:37 +0000 (+0200) Subject: u-reproducible-dl-stage0 X-Git-Tag: archive/raspbian/1.61.0+dfsg1-2+rpi1^2~30 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=072089ea698a8c5b3d9912871a5b58246fd40b23;p=rustc.git u-reproducible-dl-stage0 =================================================================== Gbp-Pq: Name u-reproducible-dl-stage0.patch --- diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 71b8f3c455..0e2305b6f9 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -124,7 +124,7 @@ def _download(path, url, probably_big, verbose, exception, help_on_error=None): run(["curl", option, "-y", "30", "-Y", "10", # timeout if speed is < 10 bytes/sec for > 30 seconds "--connect-timeout", "30", # timeout if cannot connect within 30 seconds - "--retry", "3", "-Sf", "-o", path, url], + "--retry", "3", "-Sf", "-o", path, "-R", url], verbose=verbose, exception=exception, help_on_error=help_on_error)