make debug output less noisy
This commit is contained in:
parent
e20a4b223d
commit
5f03151f81
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue