Skip to content

Commit

Permalink
Fix deprecated hyper client builder methods
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Mar 3, 2020
1 parent 526afe9 commit 2f87525
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ encoding_rs = "0.8"
futures-core = { version = "0.3.0", default-features = false }
futures-util = { version = "0.3.0", default-features = false }
http-body = "0.3.0"
hyper = { version = "0.13", default-features = false, features = ["tcp"] }
hyper = { version = "0.13.3", default-features = false, features = ["tcp"] }
lazy_static = "1.4"
log = "0.4"
mime = "0.3.7"
2 changes: 1 addition & 1 deletion src/async_impl/client.rs
Original file line number Diff line number Diff line change
@@ -300,7 +300,7 @@ impl ClientBuilder {
builder.http2_initial_connection_window_size(http2_initial_connection_window_size);
}

builder.max_idle_per_host(config.max_idle_per_host);
builder.pool_max_idle_per_host(config.max_idle_per_host);

if config.http1_title_case_headers {
builder.http1_title_case_headers(true);

0 comments on commit 2f87525

Please sign in to comment.