RFR: 8349910: Implement HTTP/3 for the HTTP Client API

Artur Barashev abarashev at openjdk.org
Tue Apr 22 19:02:46 UTC 2025


On Fri, 18 Apr 2025 13:05:24 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Hi,
> 
> Please find here a PR for the implementation of JEP [JDK-8291976: HTTP/3 for the HTTP Client API](https://bugs.openjdk.org/browse/JDK-8291976).
> 
> The CSR can be viewed at [JDK-8350588: Implement HTTP/3 for the HTTP Client API](https://bugs.openjdk.org/browse/JDK-8350588)
> 
> This JEP proposes to enhance the HttpClient implementation to support HTTP/3.
> It adds a non-exposed / non-exported internal implementation of the QUIC protocol based on DatagramChannel and the SunJSSE SSLContext provider.

test/jdk/java/net/httpclient/http3/H3QuicTLSConnection.java line 96:

> 94:         //System.setProperty("javax.net.ssl.trustStore", KEYSTORE);
> 95:         //System.setProperty("javax.net.ssl.trustStorePassword", PASSWORD);
> 96:         SSLContext context = new SimpleSSLContext().get();

FYI: We are moving away from using keystore files to generating keystores on the fly as needed. `SimpleSSLContext` is using a keystore file.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24751#discussion_r2054695885


More information about the net-dev mailing list