u-reproducible-dl-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)
committerXimin Luo <infinity0@debian.org>
Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)
===================================================================

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

src/bootstrap/bootstrap.py

index 50e1726240fffd29936c469d15386e60fad3a52b..6c40ef6a07f2646e36dbe053ae757e5adc6bda61 100644 (file)
@@ -81,7 +81,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)