]> git.ipfire.org Git - thirdparty/curl.git/commit
curl_setup: disable IPv6 resolver without `getaddrinfo`
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 26 Nov 2019 14:06:31 +0000 (15:06 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 3 Dec 2019 20:37:33 +0000 (21:37 +0100)
commit67a08dca27a6a07b36c7f97252e284ca957ff1a5
tree0c7d64fa489631d4057904ce0482fd86ab56dca7
parentab712afa8fb9d2bf7850aa8d031937ca515efa01
curl_setup: disable IPv6 resolver without `getaddrinfo`

Also, use `CURLRES_IPV6` only for actual DNS resolution, not for IPv6
address support. This makes it possible to connect to IPv6 literals by
setting `ENABLE_IPV6` even without `getaddrinfo` support. It also fixes
the CMake build when using the synchronous resolver without
`getaddrinfo` support.

Closes https://github.com/curl/curl/pull/4662
lib/asyn-thread.c
lib/curl_setup.h
lib/hostip4.c
tests/server/resolve.c