RFR: 8371887: HttpClient: SSLParameters with no protocols configured disable HTTP2+ support [v2]
Daniel Jeliński
djelinski at openjdk.org
Tue Nov 25 10:46:34 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28480/files
- new: https://git.openjdk.org/jdk/pull/28480/files/dc020b23..1c8ff94d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28480&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28480&range=00-01
Stats: 12 lines in 2 files changed: 1 ins; 3 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/28480.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28480/head:pull/28480
PR: https://git.openjdk.org/jdk/pull/28480
More information about the net-dev
mailing list