Integrated: 8371887: HttpClient: SSLParameters with no protocols configured disable HTTP2+ support

Daniel Jeliński djelinski at openjdk.org
Thu Nov 27 09:30:02 UTC 2025


On Mon, 24 Nov 2025 17:52:54 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.

This pull request has now been integrated.

Changeset: 1f417e77
Author:    Daniel Jeliński <djelinski at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1f417e77615c570ca3002b13a1398b647133ad67
Stats:     120 lines in 7 files changed: 68 ins; 39 del; 13 mod

8371887: HttpClient: SSLParameters with no protocols configured disable HTTP2+ support

Reviewed-by: jpai, dfuchs

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

PR: https://git.openjdk.org/jdk/pull/28480


More information about the net-dev mailing list