diff --git a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java index 1c908d074aa..d282f7c90a9 100644 --- a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java +++ b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/WebSocketClientSelectorManager.java @@ -82,7 +82,7 @@ public class WebSocketClientSelectorManager extends SelectorManager if (sslContextFactory != null) { SSLEngine engine = newSSLEngine(sslContextFactory,channel); - SslConnection sslConnection = new SslConnection(bufferPool,getExecutor(),endPoint,engine); + SslConnection sslConnection = new SslConnection(bufferPool,getExecutor(),endPoint,engine,true,true); sslConnection.setRenegotiationAllowed(sslContextFactory.isRenegotiationAllowed()); EndPoint sslEndPoint = sslConnection.getDecryptedEndPoint();