src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLConnection.java
changeset 49944 4690a2871b44
parent 49765 ee6f7a61f3a5
child 51364 31d9e82b2e64
child 56507 2294c51eae30
equal deleted inserted replaced
49943:8e1ed2a15845 49944:4690a2871b44
    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