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

Add ability to specify multiple IP addresses for resolver overrides #1622

Merged
merged 1 commit into from Sep 19, 2022

Commits on Sep 9, 2022

  1. Add ability to specify multiple IP addresses for resolver overrides

    This change allows the `ClientBuilder::resolve_to_addrs` method to accept a
    slice of `SocketAddr`s for overriding resolution for a single domain.
    Allowing multiple IPs more accurately reflects behavior of `getaddrinfo`
    and allows users to rely on hyper's happy eyeballs algorithm to connect
    to a host that can accept traffic on IPv4 and IPv6.
    lpraneis committed Sep 9, 2022
    Copy the full SHA
    315de2e View commit details
    Browse the repository at this point in the history