From 9bf40bef5bb3ab8d480739ee8ea168a2587ea298 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Tue, 27 Oct 2020 11:10:57 +0100 Subject: [PATCH] Authenticator: Switch from keep_alive to pool_max_idle_per_host --- src/authenticator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authenticator.rs b/src/authenticator.rs index 7e5d76e..38e1dd5 100644 --- a/src/authenticator.rs +++ b/src/authenticator.rs @@ -465,7 +465,7 @@ impl HyperClientBuilder for DefaultHyperClient { fn build_hyper_client(self) -> hyper::Client { hyper::Client::builder() - .keep_alive(false) + .pool_max_idle_per_host(0) .build::<_, hyper::Body>(hyper_rustls::HttpsConnector::new()) } }