mirror of
https://github.com/openharmony/third_party_rust_reqwest.git
synced 2026-06-30 22:17:54 -04:00
d289ffd3b8
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.