Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per IP address connect timeout #1634

Open
losfair opened this issue Sep 24, 2022 · 0 comments
Open

Per IP address connect timeout #1634

losfair opened this issue Sep 24, 2022 · 0 comments

Comments

@losfair
Copy link

losfair commented Sep 24, 2022

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 (hyperium/hyper#1972) but it seems that request does not use hyper::client::HttpConnector::set_connect_timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant