Authenticator: Switch from keep_alive to pool_max_idle_per_host

This commit is contained in:
Lewin Bormann
2020-10-27 11:10:57 +01:00
parent d193431465
commit 9bf40bef5b

View File

@@ -465,7 +465,7 @@ impl HyperClientBuilder for DefaultHyperClient {
fn build_hyper_client(self) -> hyper::Client<Self::Connector> {
hyper::Client::builder()
.keep_alive(false)
.pool_max_idle_per_host(0)
.build::<_, hyper::Body>(hyper_rustls::HttpsConnector::new())
}
}