From 5f03151f810cf257951c21ad8e688b740f2a6108 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Wed, 18 Nov 2020 00:01:00 +0100 Subject: [PATCH] make debug output less noisy --- quicp2p.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/quicp2p.nim b/quicp2p.nim index 4f46fa8..53fce52 100644 --- a/quicp2p.nim +++ b/quicp2p.nim @@ -300,7 +300,6 @@ proc handleMsg(ctx: QuicP2PContext, msg: string, peerId: string, let decodeResult = quicly_decode_packet(addr ctx.quiclyCtx, addr decoded, cast[ptr uint8](msg.cstring), msg.len().csize_t, addr offset) - echo "decode_result: ", decode_result if decode_result == csize_t.high: echo "unable to decode packet" return @@ -333,7 +332,6 @@ proc receive(ctx: QuicP2PContext, peerId: string) {.async.} = addr peerAddrLen) msg.setLen(msgLen) if msg.len > 0: - echo "received msg, len: ", msg.len handleMsg(ctx, msg, peerId, addr peerAddr, peerAddrLen) proc handleNotification(ctx: QuicP2PContext, notification: NotifyPeer)