curl-library
Re: DNS cache size control
From: Jacky Lam <sylam_at_emsoftltd.com>
Date: Thu, 18 Apr 2002 10:50:42 +0800
Date: Thu, 18 Apr 2002 10:50:42 +0800
> > Right. Stupid, really.
>
> I've added a patch to CVS which prunes old entries on each call to
> Curl_resolv, this can certainly be optimized a bit (both in hash table
> implementation, and the Curl_resolv function call), but it is a first
> step to getting this fixed.
>
Yeah! Are you pruning the old entries based on the timeout value of DNS
entry? With this and the option of setting DNS cache timeout, my problem is
solved implicitly.
Jacky
Received on 2002-04-18