Hello,

I noticed that there are two errors related to DNS resolution in libcurl

1. "Resolving timed out after <number> milliseconds"  - 
https://github.com/curl/curl/blob/1dc8aa870e879d3b2ff0334cdb11842d6321d61f/lib/multi.c#L1602
2. "Could not resolve host: <hostname>" - Maybe this file 
https://github.com/curl/curl/blob/44c9e18e5fdcc9367c5d04c762d2082382ab5f1e/lib/asyn-thread.c#L509

What is the the difference between both of them?
During failure, the first one seems to depend on (connect?) timeout and the 
second one is more or less instant.


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to