mirror of
https://github.com/openharmony/third_party_rust_reqwest.git
synced 2026-07-20 01:03:35 -04:00
ae2d521664
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.