curl-library
Re: Curl_resolv_timeout
Date: Fri, 8 Mar 2013 18:41:04 -0700
On Mar 8, 2013, at 5:20 PM, Early Ehlinger <earlye_at_gmail.com> wrote:
(please don't top-post)
> From your page: "I built these binaries with the threaded resolver for asynchronous domain name lookups. This doesn't do much if you only use curl_easy handles, but it speeds up curl_multi handles somewhat if your app uses them to transfer several things at once."
>
> Wouldn't it speed up all handles now that curl is 100% curl_multi internally? Or would that still be true if I only use the curl_easy API?
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…)
Nick Zitzmann
<http://www.chronosnet.com/>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-09