From 120890f04185590bb816646940b32a33e291266f Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 18 Dec 2017 18:20:35 -0800 Subject: [PATCH] enable hyper's no_proto config --- Cargo.toml | 2 +- src/async_impl/client.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index feb3dc3..70c94fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ categories = ["web-programming::http-client"] [dependencies] bytes = "0.4" futures = "0.1.15" -hyper = "0.11" +hyper = "0.11.9" hyper-tls = "0.1.2" libflate = "0.1.11" log = "0.3" diff --git a/src/async_impl/client.rs b/src/async_impl/client.rs index 9d1d57c..16204f7 100644 --- a/src/async_impl/client.rs +++ b/src/async_impl/client.rs @@ -133,6 +133,7 @@ impl ClientBuilder { let hyper_client = ::hyper::Client::configure() .connector(connector) + .no_proto() .build(handle); Ok(Client {