src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLConnection.java
branchhttp-client-branch
changeset 56474 fe2bf7b369b8
parent 56451 9585061fdb04
child 56507 2294c51eae30
--- a/src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLConnection.java	Thu Apr 19 16:47:52 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLConnection.java	Mon Apr 23 15:45:40 2018 +0100
@@ -61,6 +61,7 @@
                     // create the SSLTube wrapping the SocketTube, with the given engine
                     flow = new SSLTube(engine,
                                        client().theExecutor(),
+                                       client().getSSLBufferSupplier()::recycle,
                                        plainConnection.getConnectionFlow());
                     return null; } );
     }