This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Caching of IP address lookups


>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:

Michael> I merged the code in classpath's java.net.InetAddress that handles 
Michael> caching of lookup results.
Michael> Please review and comment. Okay for trunk ?

I think this code is incorrect.  DNS controls the length of time that
you can cache lookups, as I understand it this is done on a per-name
basis.  So having a single cache period is incorrect.

This could be done in a valid way by having code that talks to DNS and
caches correctly.  That's a lot of work, though.

I suspect that instead we should remove this code from Classpath, or
at least disable it by default.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]