RFR: 8304885: Reuse stale data to improve DNS resolver resiliency [v10]
Sergey Bylokhov
serb at openjdk.org
Mon May 22 18:54:08 UTC 2023
On Mon, 22 May 2023 17:47:43 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
>> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> The negative value is ignored
>
> src/java.base/share/classes/java/net/InetAddress.java line 224:
>
>> 222: * 30 seconds.
>> 223: * <p>
>> 224: * A value of 0 (zero) means do not use stale names, the negative value is
>
> Should we be more specific here? As far as I could tell, negative values also disable caching.
I guess it is an accurate description since the negative value is ignored by the implementation.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13285#discussion_r1200905756
More information about the net-dev
mailing list