On Mon, 24 Nov 2025 17:52:54 GMT, Daniel Jeliński <[email protected]> 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 <[email protected]>
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

Reply via email to