mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2025-07-09 03:30:12 +02:00
Remove unnecessary print
This commit is contained in:
parent
5615ec2321
commit
b5605f8d12
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user