[#1534] Fix handling of partial frames in SslHandler
* Let SslHandler not extend ByteToMessageDecoder
This commit is contained in:
parent
cbd8817905
commit
354de0a8f0
@ -808,7 +808,6 @@ public class SslHandler extends ByteToMessageDecoder implements ChannelOutboundH
|
|||||||
return packetLength;
|
return packetLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws SSLException {
|
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws SSLException {
|
||||||
int packetLength = this.packetLength;
|
int packetLength = this.packetLength;
|
||||||
if (packetLength == 0) {
|
if (packetLength == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user