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: HTTPS RR side of things

From: Niall O'Reilly via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 21 Feb 2025 17:22:20 +0000

On 21 Feb 2025, at 8:24, Daniel Stenberg wrote:

> Additionally: since getaddrinfo() is such a beast to replace reliably, curl will continue using that in addition to resolve additional records "on the side" using other means (c-ares in our case) [1].

I wonder whether you've considered res_nquery(), the non-blocking successor
to res_query()? I see it in glibc; I haven't looked in Apple or BSD land.
Building without having to install an extra package (such as c-ares) might
be attractive. Perhaps there are disadvantages?

> This will of course ocasionally introduce some undesired side-effects down the line when they don't agree.

Surely.

> That's effectively also the approach Firefox uses [2], so it's not only because we're a bunch of lazy incompetent developers here. :-)

Imagine! 8-)

Thanks.

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