RFR: 8304885: Reuse stale data to improve DNS resolver resiliency [v7]
    Michael McMahon 
    michaelm at openjdk.org
       
    Tue May  9 13:59:33 UTC 2023
    
    
  
On Tue, 9 May 2023 13:53:53 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   delete 7 days cap
>
> src/java.base/share/classes/java/net/doc-files/net-properties.html line 276:
> 
>> 274: 	preferable to use a stale name rather than result of unsuccessful name lookup.
>> 275: 	A value of 0 (zero) means do not use stale names.
>> 276: 	The default value is implementation-specific.</P>
> 
> Suggestion:
> 
> 	A value of 0 (zero) or if the property is not set means do not use stale names.
> 	By default, the property is not set.</P>
We probably should specify what happens if the stale property is negative. Looks like it might be ignored, which I guess is okay.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13285#discussion_r1188643136
    
    
More information about the net-dev
mailing list