src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java
branchhttp-client-branch
changeset 56474 fe2bf7b369b8
parent 56451 9585061fdb04
child 56507 2294c51eae30
equal deleted inserted replaced
56463:b583caf69b39 56474:fe2bf7b369b8
    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