diff --git a/Cargo.toml b/Cargo.toml index 90b01ac..fbb95ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/async_impl/client.rs b/src/async_impl/client.rs index 24d2433..6281697 100644 --- a/src/async_impl/client.rs +++ b/src/async_impl/client.rs @@ -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);