RFR: 8309910: Introduce jdk.internal.net.http.HttpConnection.getSNIServerNames() method

Jaikiran Pai jpai at openjdk.org
Tue Jun 13 09:34:17 UTC 2023


Can I please get a review of this change which addresses https://bugs.openjdk.org/browse/JDK-8309910?

As noted in that issue, this introduces a new method on the internal class `jdk.internal.net.http.HttpConnection` to return the SNI names that were used (if any) during a connection establishment.

Given the nature of the change, no new tests have been introduced. Existing tests in `test/jdk/java/net/httpclient` continue to pass with this change. tier testing in CI is currently in progress.

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

Commit messages:
 - 8309910: Introduce jdk.internal.net.http.HttpConnection.getSNIServerNames() method

Changes: https://git.openjdk.org/jdk/pull/14443/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14443&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309910
  Stats: 56 lines in 3 files changed: 29 ins; 17 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/14443.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14443/head:pull/14443

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


More information about the net-dev mailing list