cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: patch: New Option DNS Cache

From: Troyanker, Vlad <vlad_at_lab126.com>
Date: Mon, 2 Apr 2012 14:35:10 -0700

Hmm, yes looks like it is exactly what CURLOPT_RESOLVE does! This code was
sitting in our tree since 7.16.x though :)
I followed your doc link below. I wonder if it might be inaccurate saying
that this option was added in version 7.21.3? We use v 7.21.4 and I do not
see it in curl.h.

On 4/2/12 2:16 PM, "Daniel Stenberg" <daniel_at_haxx.se> wrote:

>On Mon, 2 Apr 2012, Troyanker, Vlad wrote:
>
>> This patch introduces a new curl option named INJECT_DNS CACHE to
>>manually
>> populate curl's internal DNS cache table. This code has been in
>>production
>> for a couple of years in a very high volume consumer product.
>
>Thanks!
>
>But isn't this more or less exactly what CURLOPT_RESOLVE does?
>
> http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTRESOLVE
>
>--
>
> / daniel.haxx.se
>-------------------------------------------------------------------
>List admin: http://cool.haxx.se/list/listinfo/curl-library
>Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-02