RFR: 8371950: The jdk.httpclient.keepalive.timeout system networking property does not specify the behaviour for values <= 0 [v2]
Volkan Yazici
vyazici at openjdk.org
Mon Feb 9 22:00:03 UTC 2026
On Fri, 6 Feb 2026 18:42:33 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> This change adds a sentence to the the description of the three keepalive properties to describe the effect of setting a value <= 0:
>>
>>> If the provided value is negative, the default value is used. A value of 0 causes the timeout to fire immediately.
>>
>> I also took this opportunity to add a link from `module-info.java` to the `java.net.http` package description, and an `@see` link from the `java.net.http` package description to the `module-info`.
>>
>> This is a doc change only - there is no code or behaviour change. Since it only affects jdk specific properties and is just a clarification of pre-existing behavior I believe no CSR is required. Please comment if you believe writing a CSR would be better.
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
>
> Improve the wording
Had a heated (internal) discussion with @dfuch on zero keep-alive, and I'm convinced that the current state of the docs is good.
-------------
Marked as reviewed by vyazici (Committer).
PR Review: https://git.openjdk.org/jdk/pull/29587#pullrequestreview-3764564205
More information about the net-dev
mailing list