Change #228558
Category | None |
Changed by | Daniel Stenberg <daniel | @haxx.se>
Changed at | Mon 28 Apr 2025 23:08:20 |
Repository | https://api.github.com/repos/curl/curl |
Project | curl/curl |
Branch | bagder/fake-addrinfo |
Revision | 6ff19f199eb4e89ce75e8c2297813abb7ebf638d |
Comments
lib: provide a getaddrinfo wrapper This uses c-ares under the hood and supports the CURL_DNS_SERVER environment variable. For debug builds only. The getaddrinfo() replacement is only used if CURL_DNS_SERVER is set to make a debug build work more like a release version without the variable set. Requires c-ares 1.26.0 or later. Closes #17134
Changed files
- lib/Makefile.inc
- lib/curl_addrinfo.c
- lib/fake_addrinfo.c
- lib/fake_addrinfo.h
- tests/README.md