RFR: 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests

Daniel Fuchs dfuchs at openjdk.org
Tue Jun 27 10:48:03 UTC 2023


On Fri, 23 Jun 2023 12:36:47 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this test-only change which addresses https://bugs.openjdk.org/browse/JDK-8310731?
> 
> As noted in that issue, before the changes in this PR, the test servers that we created for HTTP/1.1 testing in `java/net/httpclient` tests weren't configured to use a `javax.net.ssl.SNIMatcher` which resulted in the SNI name extension from the client being ignored. The commit in this PR addresses that by configuring such instances with a relevant `SNIMatcher`. 
> 
> No new tests have been added given the nature of this change, but existing tests in `java/net/httpclient` continue to pass with this change.

LGTM. Thanks for this change Jaikiran!

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

Marked as reviewed by dfuchs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14626#pullrequestreview-1500537954


More information about the net-dev mailing list