From: Debian Rust Maintainers Date: Tue, 21 Jun 2022 10:06:16 +0000 (+0100) Subject: u-reproducible-dl-stage0 X-Git-Tag: archive/raspbian/1.59.0+dfsg1-2+rpi1^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d145386259f28d89582bc3f02ddce90f3f471abd;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 7c36bb264c..9e7462f492 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -124,7 +124,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)