mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
105a820622
At startup the client doesn't yet have the DERP map so can't do STUN queries against DERP servers, so it only knows it local interface addresses, not its STUN-mapped addresses. We were reporting the interface-local addresses to control, getting the DERP map, and then immediately reporting the full set of updates. That was an extra HTTP request to control, but worse: it was an extra broadcast from control out to all the peers in the network. Now, skip the initial update if there are no stun results and we don't have a DERP map. More work remains optimizing start-up requests/map updates, but this is a start. Updates tailscale/corp#557 |
||
---|---|---|
.. | ||
filter | ||
magicsock | ||
monitor | ||
packet | ||
router | ||
tsdns | ||
tstun | ||
winnet | ||
rusage_nowindows.go | ||
rusage_windows.go | ||
rusage.go | ||
userspace_test.go | ||
userspace.go | ||
watchdog_test.go | ||
watchdog.go | ||
wgengine.go |