From: Debian Rust Maintainers Date: Tue, 8 Mar 2022 10:51:18 +0000 (+0000) Subject: u-reproducible-dl-stage0 X-Git-Tag: archive/raspbian/1.57.0+dfsg1-1+rpi1~1^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=14559d58b37936aab8e81637f869b26e35f90536;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 532853cba0..25947030f8 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -86,7 +86,7 @@ def _download(path, url, probably_big, verbose, exception): 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)