cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl_resolv_timeout

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 9 Mar 2013 16:02:44 +0100 (CET)

On Fri, 8 Mar 2013, Nick Zitzmann wrote:

> If you're using curl_easy handles on a single thread, then the threaded
> resolver or c-ares is not going to get the domain name resolved faster. If,
> however, you have several curl_easy handles in a single curl_multi handle on
> a single thread, then there will be multiple lookups going at once if the
> threaded resolver or c-ares is in use, so the process will be faster.
> (Unless my understanding is wrong…)

It is entirely correct. That's an excellent description on how the synchronous
resolver hampers operations with the multi interface. When there's just one
transfer to do, its name resolving won't slow anything else down...

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-09