RFR: 8368528: HttpClient.Builder.connectTimeout should accept arbitrarily large values [v7]
Daniel Fuchs
dfuchs at openjdk.org
Tue Nov 4 18:43:49 UTC 2025
On Tue, 4 Nov 2025 18:26:34 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:
>> Introduce necessary fixes to address exceptions thrown when excessive `Duration`s are provided to `Duration`-accepting `HttpClient` public APIs.
>
> Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:
>
> Clarify Javadoc on extremums
test/jdk/java/net/httpclient/DurationOverflowTest.java line 88:
> 86: * @run junit/othervm
> 87: * -Djdk.httpclient.keepalive.timeout.h2=9223372036854775807
> 88: * -DallowedInfras=h2,h2s
you could probably add h3 since h3 takes its default value from h2.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27973#discussion_r2491689022
More information about the net-dev
mailing list