Improved legacy client passthrough

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);
ctx.channel().pipeline().addLast(channelInitializer);
ctx.channel().pipeline().fireChannelActive();
}
ctx.pipeline().fireChannelRead(msg.retain());
} else {
ctx.fireChannelRead(msg.retain());
}
}
@Override