Skip to content

Commit

Permalink
Added well-known HTTP/3 servers.
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Aug 25, 2023
1 parent 0eb4f1b commit eeee3ca
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ public void testExternalServerWithHTTP3Client() throws Exception
client.start();
try
{
HostPort hostPort = new HostPort("maven-central-eu.storage-download.googleapis.com:443");
// Well-known HTTP/3 servers to try.
// HostPort hostPort = new HostPort("maven-central-eu.storage-download.googleapis.com:443");
HostPort hostPort = new HostPort("google.com:443");
// HostPort hostPort = new HostPort("nghttp2.org:4433");
// HostPort hostPort = new HostPort("http3check.net:443");
// HostPort hostPort = new HostPort("quic.tech:8443");
// HostPort hostPort = new HostPort("h2o.examp1e.net:443");
// HostPort hostPort = new HostPort("test.privateoctopus.com:4433");
Session.Client session = client.connect(new InetSocketAddress(hostPort.getHost(), hostPort.getPort()), new Session.Client.Listener() {})
.get(5, TimeUnit.SECONDS);

Expand Down

0 comments on commit eeee3ca

Please sign in to comment.