remove stray debug statement when handling packets in the client

This commit is contained in:
Marten Seemann
2018-06-18 13:29:19 +07:00
parent a737aca658
commit 54d0a0e7e9

View File

@@ -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)
}