more debug output
This commit is contained in:
parent
154f5ec77b
commit
314e1a63fc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue