classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: RFC: remove InetAddress caching


From: Archie Cobbs
Subject: Re: [cp-patches] Patch: RFC: remove InetAddress caching
Date: Wed, 11 Jan 2006 15:41:31 -0600
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050715)

Tom Tromey wrote:
I'm not checking this in yet -- I would like comments first.

I happened to run across the caching code in java.net.InetAddress
today.  We had a couple discussions about this already in the past,
e.g. one is here:

http://gcc.gnu.org/ml/java/2000-04/msg00106.html

I still think this code is incorrect, as it doesn't respect TTL
properly.  I would like to remove it, which is what this patch does.

Sounds good to me. Let the upstream DNS server do the caching, that's
what it's there for.

Or, at least, this reverts to doing the correct and conservative thing
while the correct and optimized thing is being worked on. What we have
now is incorrect and optimized :-)

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]