Improved legacy client passthrough
Some checks are pending
build-docker / build (push) Waiting to run
build / build (push) Waiting to run

Fixes issues with B2R plugin
This commit is contained in:
RaphiMC 2024-09-24 12:14:25 +02:00
parent 0b44bbfad6
commit ebd051e2e4
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94

View file

@ -46,9 +46,10 @@ public class LegacyPassthroughInitialHandler extends SimpleChannelInboundHandler
final PassthroughClient2ProxyChannelInitializer channelInitializer = new PassthroughClient2ProxyChannelInitializer(handlerSupplier); final PassthroughClient2ProxyChannelInitializer channelInitializer = new PassthroughClient2ProxyChannelInitializer(handlerSupplier);
ctx.channel().pipeline().addLast(channelInitializer); ctx.channel().pipeline().addLast(channelInitializer);
ctx.channel().pipeline().fireChannelActive(); ctx.channel().pipeline().fireChannelActive();
ctx.pipeline().fireChannelRead(msg.retain());
} else {
ctx.fireChannelRead(msg.retain());
} }
ctx.pipeline().fireChannelRead(msg.retain());
} }
@Override @Override