diff --git a/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java b/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java index 964a4a7921..4fb7a93574 100644 --- a/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java +++ b/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java @@ -686,8 +686,8 @@ public class SslHandler extends FrameDecoder implements ChannelDownstreamHandler switch (result.getHandshakeStatus()) { case FINISHED: - setHandshakeSuccess(channel); runDelegatedTasks(); + setHandshakeSuccess(channel); break; case NEED_TASK: runDelegatedTasks();