mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2026-02-04 08:26:13 +01:00
Remove unnecessary print
This commit is contained in:
@@ -29,8 +29,6 @@ public class ChannelTrafficHandler extends ChannelInboundHandlerAdapter {
|
||||
ByteBuf in = (ByteBuf) msg;
|
||||
int bytes = in.readableBytes();
|
||||
|
||||
System.out.println(bytes + " bytes");
|
||||
|
||||
if (packetSize > 0 && bytes > packetSize) {
|
||||
closeConnection(ctx, "Closed %s due too large packet size (%d bytes)", ctx.channel().remoteAddress(), bytes);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user