curl / Mailing Lists / curl-library / Single Mail
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: Different errors for DNS resolution

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 4 Feb 2021 13:59:02 +0100 (CET)

On Thu, 4 Feb 2021, Tejas via curl-library wrote:

> Also, with (1) I see that when CURLOPT_CONNECTTIMEOUT was set to 10 seconds,
> and curl logs "Resolving timed out after 10001 milliseconds",
> CURLINFO_TOTAL_TIME reports more time, like 15 or 20 seconds, Is this
> normal? This is with the easy interface and libcurl 7.64.1

I would guess that this is *probably* the effect of this known bug we call
"Multi perform hangs waiting for threaded resolver":

   https://curl.se/docs/knownbugs.html#Multi_perform_hangs_waiting_for

-- 
  / 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.se/mail/etiquette.html
Received on 2021-02-04