src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java
changeset 49944 4690a2871b44
parent 49765 ee6f7a61f3a5
child 51364 31d9e82b2e64
child 56507 2294c51eae30
equal deleted inserted replaced
49943:8e1ed2a15845 49944:4690a2871b44
    63                 .thenApply( unused -> {
    63                 .thenApply( unused -> {
    64                     if (debug.on()) debug.log("creating SSLTube");
    64                     if (debug.on()) debug.log("creating SSLTube");
    65                     // create the SSLTube wrapping the SocketTube, with the given engine
    65                     // create the SSLTube wrapping the SocketTube, with the given engine
    66                     flow = new SSLTube(engine,
    66                     flow = new SSLTube(engine,
    67                                        client().theExecutor(),
    67                                        client().theExecutor(),
       
    68                                        client().getSSLBufferSupplier()::recycle,
    68                                        plainConnection.getConnectionFlow());
    69                                        plainConnection.getConnectionFlow());
    69                     return null;} );
    70                     return null;} );
    70     }
    71     }
    71 
    72 
    72     @Override
    73     @Override