- return new SslConnection(connector.getByteBufferPool(), connector.getExecutor(), endPoint, engine);
+ return new SslConnection(connector.getByteBufferPool(), connector.getExecutor(), endPoint, engine, shouldRestartSSL()?this:null);
+ }
+
+ public boolean shouldRestartSSL(){
+ return false;
+ }
+
+ public SSLEngine restartSSL(SSLSession sslSession){
+ throw new UnsupportedOperationException();