RFR: 8371887: HttpClient: SSLParameters with no protocols configured disable HTTP2+ support [v2]

Daniel Jeliński djelinski at openjdk.org
Tue Nov 25 10:46:35 UTC 2025


On Tue, 25 Nov 2025 10:41:53 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> When checking for supported TLS versions, use SSLContext default parameters if the provided SSLParameters have no protocols configured.
>> 
>> This fixes an issue where using SSLParameters with no protocols disabled the use of HTTP2 and HTTP3, even when these protocols were supported and enabled in the SSLContext.
>> 
>> Modified the existing tests to additionally cover the case of empty SSLParameters. All tests continue to pass.
>
> Daniel Jeliński has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Cleanup HttpClientImpl ctor
>  - Rename setParams

Thanks @vy for the review.

-------------

PR Review: https://git.openjdk.org/jdk/pull/28480#pullrequestreview-3503972623


More information about the net-dev mailing list