src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLConnection.java
branchhttp-client-branch
changeset 56474 fe2bf7b369b8
parent 56451 9585061fdb04
child 56507 2294c51eae30
equal deleted inserted replaced
56463:b583caf69b39 56474:fe2bf7b369b8
    59                 .connectAsync()
    59                 .connectAsync()
    60                 .thenApply( unused -> {
    60                 .thenApply( unused -> {
    61                     // create the SSLTube wrapping the SocketTube, with the given engine
    61                     // create the SSLTube wrapping the SocketTube, with the given engine
    62                     flow = new SSLTube(engine,
    62                     flow = new SSLTube(engine,
    63                                        client().theExecutor(),
    63                                        client().theExecutor(),
       
    64                                        client().getSSLBufferSupplier()::recycle,
    64                                        plainConnection.getConnectionFlow());
    65                                        plainConnection.getConnectionFlow());
    65                     return null; } );
    66                     return null; } );
    66     }
    67     }
    67 
    68 
    68     @Override
    69     @Override