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: Sun, 19 Oct 2025 02:30:58 -0400

On 10/19/25 02:26, Monty Brandenberg via curl-library wrote:
> On 10/18/2025 9:05 PM, Demi Marie Obenour via curl-library wrote:
>> Should distros build with c-ares by default? I'm wondering if
>> getaddrinfo() is just too poor an interface.
>
> The better interface is getaddrinfo_a() but only has standing as
> a GNU extension. The old BSD-style synchronous interfaces are
> definitely wanting...

Unfortunately getaddrinfo_a() only supports event notification via
signals or creating a new thread.
-- 
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-19