From b5605f8d12018f9765df30ab633da315b1546564 Mon Sep 17 00:00:00 2001 From: Nan1t Date: Sun, 1 Oct 2023 13:59:46 +0300 Subject: [PATCH] Remove unnecessary print --- .../nanit/limbo/connection/pipeline/ChannelTrafficHandler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/ua/nanit/limbo/connection/pipeline/ChannelTrafficHandler.java b/src/main/java/ua/nanit/limbo/connection/pipeline/ChannelTrafficHandler.java index 1f95253d..b9acaf1b 100644 --- a/src/main/java/ua/nanit/limbo/connection/pipeline/ChannelTrafficHandler.java +++ b/src/main/java/ua/nanit/limbo/connection/pipeline/ChannelTrafficHandler.java @@ -29,8 +29,6 @@ public void channelRead(@NotNull ChannelHandlerContext ctx, @NotNull Object msg) 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;