Skip to content

Commit

Permalink
Remove unnecessary print
Browse files Browse the repository at this point in the history
  • Loading branch information
Nan1t committed Oct 1, 2023
1 parent 5615ec2 commit b5605f8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b5605f8

Please sign in to comment.