A potential fix for 'bad handshake MAC' error

This commit is contained in:
Trustin Lee 2009-09-22 09:04:42 +00:00
parent 80b6a5b7ae
commit dcdb1c5c18

View File

@ -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();