reqwest icon indicating copy to clipboard operation
reqwest copied to clipboard

Per IP address connect timeout

Open losfair opened this issue 3 years ago • 0 comments

If the requested hostname resolves to multiple IP addresses, divide the timeout evenly between them and try all IP addresses.

This is implemented in hyper (https://github.com/hyperium/hyper/pull/1972) but it seems that request does not use hyper::client::HttpConnector::set_connect_timeout.

losfair avatar Sep 24 '22 07:09 losfair