A fix for 'bad handshake MAC' error
This commit is contained in:
parent
e31dd0ebca
commit
3011d52e45
@ -472,12 +472,9 @@ public class SslHandler extends FrameDecoder implements ChannelDownstreamHandler
|
||||
return null;
|
||||
}
|
||||
|
||||
ChannelBuffer frame;
|
||||
try {
|
||||
frame = unwrap(ctx, channel, buffer, buffer.readerIndex(), packetLength);
|
||||
} finally {
|
||||
final int packetOffset = buffer.readerIndex();
|
||||
buffer.skipBytes(packetLength);
|
||||
}
|
||||
ChannelBuffer frame = unwrap(ctx, channel, buffer, packetOffset, packetLength);
|
||||
|
||||
return frame;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user