more debug output

This commit is contained in:
Christian Ulrich 2020-11-17 23:24:22 +01:00
parent 154f5ec77b
commit 314e1a63fc
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ proc handleMsg(ctx: QuicP2PContext, msg: string, peerId: string,
let acceptResult = quicly_accept(addr conn, addr ctx.quiclyCtx, nil,
peerAddr, addr decoded, nil,
addr ctx.nextCid, nil)
echo "acceptResult: ", acceptResult
if acceptResult == 0:
ctx.addConnection(conn, peerId)
else: