make debug output less noisy

This commit is contained in:
Christian Ulrich 2020-11-18 00:01:00 +01:00
parent e20a4b223d
commit 5f03151f81
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 0 additions and 2 deletions

View File

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