we are the responder if no peerId is given
This commit is contained in:
parent
23c2f3221e
commit
b4bc750e99
|
@ -313,7 +313,7 @@ proc handleMsg(ctx: QuicP2PContext, msg: string, peerId: string,
|
|||
break
|
||||
if conn != nil:
|
||||
discard quicly_receive(conn, nil, peerAddr, addr decoded)
|
||||
elif peerId.len != 0:
|
||||
elif peerId.len == 0:
|
||||
# The puncher needs to be informed about this message because it may
|
||||
# be the peer's response to our respond call. Quicly needs to be informed
|
||||
# because we except the first QUIC handshake packet in it.
|
||||
|
|
Loading…
Reference in New Issue