]> git.ipfire.org Git - thirdparty/curl.git/commit
easy: Fix curl_easy_duphandle for builds missing IPv6 that use c-ares
authorJay Satiro <raysatiro@yahoo.com>
Sat, 14 Mar 2020 06:19:04 +0000 (02:19 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 14 Mar 2020 23:07:05 +0000 (19:07 -0400)
commit3bfda07004a5739fb306e55cb9529ba3de35fbdb
treed7f1e22dc2dc52801aab4496eefcb49d7223f917
parent0845ecbb6dcaadad4a4891f7e85efb8c8e626ff6
easy: Fix curl_easy_duphandle for builds missing IPv6 that use c-ares

- Ignore CURLE_NOT_BUILT_IN errors returned by c-ares functions in
  curl_easy_duphandle.

Prior to this change if c-ares was used as the resolver backend and
either it was too old or libcurl was built without IPv6 support then
some of our resolver functions could return CURLE_NOT_BUILT_IN to
curl_easy_duphandle causing it to fail.

Caused by c8f086b which shipped in 7.69.1.

Reported-by: Karl Chen
Fixes https://github.com/curl/curl/issues/5097
Closes https://github.com/curl/curl/pull/5100
lib/easy.c