mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:01:40 +03:00
When a user supplied an ip address in a URL as hostname, use that even when address family restrictions like -4 or -6 are set. Add test_10_15/16 to verify with a local proxy server. Fixes #21146 Reported-by: Terrance Wong How: - cf-dns: on see the hostname is an ip(v6) address, add the respective A/AAAA to the dns query bits - cf-dns/hostip: only hand out addrinfos for a family if that family is part of the DNS queries. That prevents for example ipv6 addresses to show up from dns cache entries - change cf-ip-happy to no longer check for "ip_version" and instead use all addresses that cf-dns hands out Closes #21295 |
||
|---|---|---|
| .. | ||
| mod_curltest | ||
| __init__.py | ||
| caddy.py | ||
| certs.py | ||
| client.py | ||
| curl.py | ||
| dante.py | ||
| dnsd.py | ||
| env.py | ||
| httpd.py | ||
| nghttpx.py | ||
| ports.py | ||
| sshd.py | ||
| vsftpd.py | ||
| ws_echo_server.py | ||