curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. 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 Daniel himself.

Re: libcurl 8.16.0 spawning large number of getaddrinfo threads?

From: Demi Marie Obenour <demiobenour_at_gmail.com>
Date: Thu, 23 Oct 2025 21:04:15 -0400

On 10/23/25 14:31, Dan Fandrich via curl-library wrote:
> On Thu, Oct 23, 2025 at 10:03:04AM +0200, Daniel Stenberg via curl-library wrote:
>> On Mon, 20 Oct 2025, Vadim Grinshpun via curl-library wrote:
>>> I'll look into enabling c-ares. In another part of this thread, Daniel
>>> mentioned that c-ares can behave differently from getaddrinfo; are known
>>> differences documented somewhere? (I'd like to ensure we won't get affected).
>>
>> I'm afraid I don't think they are. I also have not kept track if some of the
>> issues that once were concerns in the past perhaps are not anymore.
>
> I would imagine lacking support for /etc/nsswitch.conf and the glibc NSS
> plug-in system would be a big one.

Some of those are probably solved by running a local DNS resolver,
like dnsmasq or systemd-resolved.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)




-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-10-24