src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java
branchhttp-client-branch
changeset 56126 86e628130926
parent 56092 fd85b2bf2b0d
child 56335 7e56c39fa1fa
--- a/src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java	Tue Feb 13 16:22:49 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java	Wed Feb 14 16:04:18 2018 +0000
@@ -49,7 +49,7 @@
                              InetSocketAddress proxy,
                              HttpHeaders proxyHeaders)
     {
-        super(addr, client, Utils.getServerName(addr), alpn);
+        super(addr, client, Utils.getServerName(addr), addr.getPort(), alpn);
         this.plainConnection = new PlainTunnelingConnection(addr, proxy, client, proxyHeaders);
         this.writePublisher = new PlainHttpPublisher();
     }