]> git.proxmox.com Git - cargo.git/commitdiff
Don't enable HTTP1 pipelining as apparently it's flaky
authorAlex Crichton <alex@alexcrichton.com>
Tue, 18 Sep 2018 18:37:55 +0000 (11:37 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 18 Sep 2018 18:37:55 +0000 (11:37 -0700)
It seems to fix some issues perhaps!

src/cargo/core/package.rs

index cee7c7091120668cb0a4376acbaf34c80714139b..ab20af44ae85250ab4a121e564af01245181844a 100644 (file)
@@ -287,7 +287,7 @@ impl<'cfg> PackageSet<'cfg> {
         // We've enabled the `http2` feature of `curl` in Cargo, so treat
         // failures here as fatal as it would indicate a build-time problem.
         let mut multi = Multi::new();
-        multi.pipelining(true, true)
+        multi.pipelining(false, true)
             .chain_err(|| "failed to enable multiplexing/pipelining in curl")?;
 
         Ok(PackageSet {