mirror of
https://gitee.com/openharmony/third_party_rust_reqwest
synced 2025-02-18 12:17:40 +00:00
![lpraneis](/assets/img/avatar_default.png)
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.