summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorFran Bull <fran@tailscale.com>2025-04-02 08:58:13 -0700
committerfranbull <fran@tailscale.com>2025-04-04 10:46:47 -0700
commite2eb6eb87093b4821a1458946d5cff75a70ace63 (patch)
tree7a863f1d3b9027f0b16844afb376ed857d4bd99d /control/controlhttp/controlhttpserver/controlhttpserver.go
parent7b29d39f45f2908178dd07120153e57ac3a914e6 (diff)
downloadtailscale-e2eb6eb87093b4821a1458946d5cff75a70ace63.tar.xz
tailscale-e2eb6eb87093b4821a1458946d5cff75a70ace63.zip
cmd/natc: separate perPeerState from connector
Make the perPeerState objects able to function independently without a shared reference to the connector. We don't currently change the values from connector that perPeerState uses at runtime. Explicitly copying them at perPeerState creation allows us to, for example, put the perPeerState into a consensus algorithm in the future. Updates #14667 Signed-off-by: Fran Bull <fran@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions