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