diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslConnection.java b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslConnection.java index 14c04d25ce9..6808206b7b8 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslConnection.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SslConnection.java @@ -198,7 +198,7 @@ public class SslConnection extends AbstractConnection implements AsyncConnection { // handle the delegate connection AsyncConnection next = (AsyncConnection)_connection.handle(); - if (next!=_connection && next==null) + if (next!=_connection && next!=null) { _connection=next; progress=true;