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: Phantom socket with threaded resolver

From: Sean Miller via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 16 Oct 2020 21:33:27 +0000 (UTC)

> You can't and you shouldn't. libcurl doesn't tell the application when the DNSĀ 
> resolution is done (or even if DNS resolution is at all performed). You can
> still attempt to detect it, but there's no promise it will work.

Ack, thanks.

For future reference, my solution was to do the legwork to specially handle the AF_UNIX socketpair() socket.

Regards,
Sean M.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-10-16