more debug output
This commit is contained in:
parent
b91f8ab2e5
commit
debd8247b8
|
@ -101,6 +101,8 @@ proc handleMsg*(puncher: Puncher, msg: string, peerIp: IpAddress,
|
||||||
echo &"handling QUIC message from {peerIp}:{peerPort}"
|
echo &"handling QUIC message from {peerIp}:{peerPort}"
|
||||||
puncher.attempts[i].future.complete(peerPort)
|
puncher.attempts[i].future.complete(peerPort)
|
||||||
puncher.attempts.del(i)
|
puncher.attempts.del(i)
|
||||||
|
else:
|
||||||
|
echo &"received unexpected packet from {peerIp}:{peerPort}"
|
||||||
|
|
||||||
proc handleMsg*(puncher: Puncher, msg: string,
|
proc handleMsg*(puncher: Puncher, msg: string,
|
||||||
peerAddr: SockAddr | Sockaddr_storage, peerSockLen: SockLen) =
|
peerAddr: SockAddr | Sockaddr_storage, peerSockLen: SockLen) =
|
||||||
|
|
Loading…
Reference in New Issue