mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2025-12-31 08:30:05 +01:00
Authenticator: Switch from keep_alive to pool_max_idle_per_host
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user