u-reproducible-dl-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)
committerXimin Luo <infinity0@debian.org>
Sat, 29 Aug 2020 15:54:36 +0000 (16:54 +0100)
===================================================================

Gbp-Pq: Name u-reproducible-dl-stage0.patch

src/bootstrap/bootstrap.py

index 1dfa635c694acdc06bcb3f256e8fe267014d06d6..1e0ba26f3e5bb28d3b89d75aa361060d04991777 100644 (file)
@@ -83,7 +83,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)