summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs_test.go
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2024-04-17 10:59:30 -0400
committerAndrew Dunham <andrew@du.nham.ca>2024-04-19 22:14:36 -0400
commit375617c5c804134ad28a34122e072e4bbb009675 (patch)
treece72fcaea3df8052545c207d6a6633454e0a1bdd /control/controlknobs/controlknobs_test.go
parent9e1c86901b2c47ebcad43c26836f7db28de9a7b9 (diff)
downloadtailscale-375617c5c804134ad28a34122e072e4bbb009675.tar.xz
tailscale-375617c5c804134ad28a34122e072e4bbb009675.zip
net/tsdial: assume all connections are affected if no default route is present
If this happens, it results in us pessimistically closing more connections than might be necessary, but is more correct since we won't "miss" a change to the default route interface and keep trying to send data over a nonexistent interface, or one that can't reach the internet. Updates tailscale/corp#19124 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: Ia0b8b04cb8cdcb0da0155fd08751c9dccba62c1a
Diffstat (limited to 'control/controlknobs/controlknobs_test.go')
0 files changed, 0 insertions, 0 deletions