Skip to content

Commit

Permalink
enable hyper's no_proto config
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Dec 19, 2017
1 parent 9cc02ab commit 120890f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/async_impl/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ impl ClientBuilder {

let hyper_client = ::hyper::Client::configure()
.connector(connector)
.no_proto()
.build(handle);

Ok(Client {
Expand Down

0 comments on commit 120890f

Please sign in to comment.