curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: IPv6 issues with curl 7.87.0 + c-ares 1.16.1

From: Peter Krefting via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 19 Jan 2023 09:42:58 +0100 (CET)

Hi!

> I am upgrading our version of curl and c-ares on an embedded device,
> and after upgrading, I find that on a system where IPv6 setup is
> incomplete (only internal network configured [1]), I am unable to
> perform any https requests; IPv4 fall-back does not happen.

Since the issue disappeared while changing c-ares versions, I bisected
c-ares to see if I could find a regression there; bisection points me
to the commit that changes the version number from 1.15 to 1.16, which
lead me to look back at the curl code, where this stood out:

   lib/asyn-ares.c:
   #if ARES_VERSION >= 0x011000
   /* 1.16.0 or later has ares_getaddrinfo */
   #define HAVE_CARES_GETADDRINFO 1
   #endif

Could this be the cause for the issue I am seeing?

-- 
\\// Peter - http://www.softwolves.pp.se/
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-01-19