mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-16 22:06:52 +01:00
Add handshakes.pq.require, and give new paths and responsive peers the PQ attempt
This commit is contained in:
1 parent
22cdb0739a
commit
13658b74a0
8 files changed
+344
-14
No files matched your search
@@ -364,6 +364,8 @@ func (rm *relayManager) handleCreateRelayResponse(v cert.Version, h *HostInfo, f
|
||||
}
|
||||
// Do I need to complete the relays now?
|
||||
if relay.Type == TerminalType {
|
||||
// The relay I asked for is up; a handshake waiting on it can go now.
|
||||
f.handshakeManager.relayEstablished(relay.PeerAddr, h, relay)
|
||||
return
|
||||
}
|
||||
// I'm the middle man. Let the initiator know that the I've established the relay they requested.
|
||||
|
||||
Reference in new issue
Block a user