src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java
branchhttp-client-branch
changeset 56126 86e628130926
parent 56092 fd85b2bf2b0d
child 56335 7e56c39fa1fa
equal deleted inserted replaced
56122:1d7d3d8f8021 56126:86e628130926
    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