mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2025-07-09 11:30:13 +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;
|
ByteBuf in = (ByteBuf) msg;
|
||||||
int bytes = in.readableBytes();
|
int bytes = in.readableBytes();
|
||||||
|
|
||||||
System.out.println(bytes + " bytes");
|
|
||||||
|
|
||||||
if (packetSize > 0 && bytes > packetSize) {
|
if (packetSize > 0 && bytes > packetSize) {
|
||||||
closeConnection(ctx, "Closed %s due too large packet size (%d bytes)", ctx.channel().remoteAddress(), bytes);
|
closeConnection(ctx, "Closed %s due too large packet size (%d bytes)", ctx.channel().remoteAddress(), bytes);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user