src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java
equal
deleted
inserted
replaced
47 HttpClientImpl client, |
47 HttpClientImpl client, |
48 String[] alpn, |
48 String[] alpn, |
49 InetSocketAddress proxy, |
49 InetSocketAddress proxy, |
50 HttpHeaders proxyHeaders) |
50 HttpHeaders proxyHeaders) |
51 { |
51 { |
52 super(addr, client, Utils.getServerName(addr), alpn); |
52 super(addr, client, Utils.getServerName(addr), addr.getPort(), alpn); |
53 this.plainConnection = new PlainTunnelingConnection(addr, proxy, client, proxyHeaders); |
53 this.plainConnection = new PlainTunnelingConnection(addr, proxy, client, proxyHeaders); |
54 this.writePublisher = new PlainHttpPublisher(); |
54 this.writePublisher = new PlainHttpPublisher(); |
55 } |
55 } |
56 |
56 |
57 @Override |
57 @Override |