wgengine/magicsock: implement relayManager handshaking (#15977)

CallMeMaybeVia reception and endpoint allocation have been collapsed to
a single event channel. discoInfo caching for active relay handshakes
is now implemented.

Updates tailscale/corp#27502

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2025-05-16 13:51:40 -07:00
committed by GitHub
parent 9c52856af6
commit 6de4a021bb
4 changed files with 396 additions and 58 deletions
+1 -1
View File
@@ -1871,7 +1871,7 @@ func (de *endpoint) resetLocked() {
}
}
de.probeUDPLifetime.resetCycleEndpointLocked()
de.c.relayManager.cancelOutstandingWork(de)
de.c.relayManager.stopWork(de)
}
func (de *endpoint) numStopAndReset() int64 {