wip: set_reuse_addr for client
This commit is contained in:
parent
a6f9fc7065
commit
deb4c2850e
1 changed files with 1 additions and 0 deletions
|
|
@ -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()))
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue