A workaround for 'missing algorithm' error during handshake

This commit is contained in:
Trustin Lee 2008-11-16 15:44:05 +00:00
parent 62ed58a2be
commit 5df6229d2a

View File

@ -273,14 +273,13 @@ public class SslHandler extends FrameDecoder {
if (handshaking) {
return this.handshakeFuture;
} else {
engine.beginHandshake();
handshakeFuture = this.handshakeFuture = newHandshakeFuture(channel);
handshaking = true;
}
}
ChannelHandlerContext ctx = context(channel);
engine.beginHandshake();
wrapNonAppData(ctx, channel);
wrapNonAppData(context(channel), channel);
return handshakeFuture;
}