mirror of https://github.com/linkerd/linkerd2.git
proxy: update to released hyper 0.12 (#1069)
This commit is contained in:
parent
0abb4830fd
commit
685e2219d3
|
@ -135,7 +135,7 @@ dependencies = [
|
|||
"h2 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"http 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"httparse 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"hyper 0.12.0-pre.0 (git+https://github.com/hyperium/hyper)",
|
||||
"hyper 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"indexmap 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ipnet 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -419,8 +419,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
|
||||
[[package]]
|
||||
name = "hyper"
|
||||
version = "0.12.0-pre.0"
|
||||
source = "git+https://github.com/hyperium/hyper#bc6af88a32e29e5a4f3719d8abc664f9ab10dddd"
|
||||
version = "0.12.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bytes 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"futures 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -1494,7 +1494,7 @@ dependencies = [
|
|||
"checksum hostname 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "58fab6e177434b0bb4cd344a4dabaa5bd6d7a8d792b1885aebcae7af1091d1cb"
|
||||
"checksum http 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "75df369fd52c60635208a4d3e694777c099569b3dcf4844df8f652dc004644ab"
|
||||
"checksum httparse 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "c2f407128745b78abc95c0ffbe4e5d37427fdc0d45470710cfef8c44522a2e37"
|
||||
"checksum hyper 0.12.0-pre.0 (git+https://github.com/hyperium/hyper)" = "<none>"
|
||||
"checksum hyper 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6416251e6672bff06fe96a3337570772845a44500fba2d178e2e55e0fab58a86"
|
||||
"checksum idna 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "014b298351066f1512874135335d62a789ffe78a9974f94b43ed5621951eaf7d"
|
||||
"checksum indexmap 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b9378f1f3923647a9aea6af4c6b5de68cc8a71415459ad25ef191191c48f5b7"
|
||||
"checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08"
|
||||
|
|
|
@ -23,7 +23,7 @@ futures-watch = { git = "https://github.com/carllerche/better-future" }
|
|||
h2 = "0.1.7"
|
||||
http = "0.1"
|
||||
httparse = "1.2"
|
||||
hyper = { git = "https://github.com/hyperium/hyper" }
|
||||
hyper = "0.12"
|
||||
ipnet = "1.0"
|
||||
log = "0.4.1"
|
||||
indexmap = "1.0.0"
|
||||
|
|
|
@ -504,7 +504,6 @@ fn http1_bodyless_responses() {
|
|||
);
|
||||
|
||||
assert_eq!(resp.status(), StatusCode::OK);
|
||||
assert!(!resp.headers().contains_key("content-length"));
|
||||
assert!(!resp.headers().contains_key("transfer-encoding"));
|
||||
|
||||
let statuses = &[
|
||||
|
@ -524,7 +523,6 @@ fn http1_bodyless_responses() {
|
|||
);
|
||||
|
||||
assert_eq!(resp.status(), status);
|
||||
assert!(!resp.headers().contains_key("content-length"), "content-length with status={:?}", status);
|
||||
assert!(!resp.headers().contains_key("transfer-encoding"), "transfer-encoding with status={:?}", status);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue