From 54d0a0e7e965d4007250e070b16aa692a35dc718 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 18 Jun 2018 13:29:19 +0700 Subject: [PATCH] remove stray debug statement when handling packets in the client --- client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client.go b/client.go index a343ffea..f7c1ffad 100644 --- a/client.go +++ b/client.go @@ -373,7 +373,6 @@ func (c *client) handleIETFQUICPacket(hdr *wire.Header, packetData []byte, remot if hdr.Type != protocol.PacketTypeRetry && hdr.Type != protocol.PacketTypeHandshake { return fmt.Errorf("Received unsupported packet type: %s", hdr.Type) } - c.logger.Debugf("len(packet data): %d, payloadLen: %d", len(packetData), hdr.PayloadLen) if protocol.ByteCount(len(packetData)) < hdr.PayloadLen { return fmt.Errorf("packet payload (%d bytes) is smaller than the expected payload length (%d bytes)", len(packetData), hdr.PayloadLen) }