u-reproducible-dl-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Tue, 29 Mar 2022 11:23:46 +0000 (12:23 +0100)
committerXimin Luo <infinity0@debian.org>
Tue, 29 Mar 2022 11:23:46 +0000 (12:23 +0100)
Gbp-Pq: Name u-reproducible-dl-stage0.patch

src/bootstrap/bootstrap.py

index 22f2e405a1e88d29356539b74453b4e71b16c793..f6fd534bb97d961dc48b9a2c9fbc68cd67bcf3ed 100644 (file)
@@ -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)