Update to latest PacketLib change

This commit is contained in:
Camotoy 2021-11-24 11:27:44 -05:00
parent 42aca7f00c
commit 64799b11b4

View file

@ -79,7 +79,7 @@ public final class LocalSession extends TcpSession {
ChannelPipeline pipeline = channel.pipeline(); ChannelPipeline pipeline = channel.pipeline();
pipeline.addLast("encryption", new TcpPacketEncryptor(LocalSession.this)); pipeline.addLast("encryption", new TcpPacketEncryptor(LocalSession.this));
pipeline.addLast("sizer", new TcpPacketSizer(LocalSession.this)); pipeline.addLast("sizer", new TcpPacketSizer(LocalSession.this));
pipeline.addLast("codec", new TcpPacketCodec(LocalSession.this)); pipeline.addLast("codec", new TcpPacketCodec(LocalSession.this, true));
pipeline.addLast("manager", LocalSession.this); pipeline.addLast("manager", LocalSession.this);
addHAProxySupport(pipeline); addHAProxySupport(pipeline);