wip: set_reuse_addr for client

This commit is contained in:
Jun Kurihara 2023-11-30 10:39:38 +09:00
commit deb4c2850e
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03

View file

@ -86,6 +86,7 @@ where
.map(|tls| { .map(|tls| {
let mut http = HttpConnector::new(); let mut http = HttpConnector::new();
http.enforce_http(false); http.enforce_http(false);
http.set_reuse_address(true);
HttpsConnector::from((http, tls.into())) HttpsConnector::from((http, tls.into()))
}) })
}; };