src/java.net.http/share/classes/jdk/internal/net/http/AsyncSSLTunnelConnection.java
equal
deleted
inserted
replaced
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 |