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
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 10 Oct 2020 15:38:18 +0200 (CEST)
On Fri, 9 Oct 2020, Sean Miller via curl-library wrote:
> Maybe I'm dense, but how can I tell that I should treat this invocation of
> CURLMOPT_SOCKETFUNCTION as a signal that DNS resolution is done?
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.
Date: Sat, 10 Oct 2020 15:38:18 +0200 (CEST)
On Fri, 9 Oct 2020, Sean Miller via curl-library wrote:
> Maybe I'm dense, but how can I tell that I should treat this invocation of
> CURLMOPT_SOCKETFUNCTION as a signal that DNS resolution is done?
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.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2020-10-10