cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multi handle DNS cache sharing

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 9 Jan 2004 08:48:56 +0100 (CET)

On Thu, 8 Jan 2004, codemastr wrote:

> Multi handle DNS cache sharing
>
> I'm just wondering, first off, does libcurl support this? I quickly glanced
> through the code and I didn't see it.

This is already done by default, and there's not even an option to switch it
off! ;-)

In curl_multi_init() the cache is being setup, and in curl_multi_add_handle()
each newly added easy handle are setup to use the single shared cache.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
Received on 2004-01-09