tailscale/cmd/tailscaled
James Tucker aa04f61d5e net/netcheck: adjust HTTPS latency check to connection time and avoid data race
The go-httpstat package has a data race when used with connections that
are performing happy-eyeballs connection setups as we are in the DERP
client. There is a long-stale PR upstream to address this, however
revisiting the purpose of this code suggests we don't really need
httpstat here.

The code populates a latency table that may be used to compare to STUN
latency, which is a lightweight RTT check. Switching out the reported
timing here to simply the request HTTP request RTT avoids the
problematic package.

Fixes tailscale/corp#25095

Signed-off-by: James Tucker <james@tailscale.com>
2024-12-13 12:53:10 -08:00
..
childproc
debug.go
depaware.txt net/netcheck: adjust HTTPS latency check to connection time and avoid data race 2024-12-13 12:53:10 -08:00
deps_test.go
generate.go
install_darwin.go
install_windows.go
manifest_windows_386.syso
manifest_windows_amd64.syso
manifest_windows_arm64.syso
proxy.go
required_version.go
sigpipe.go
ssh.go
taildrop.go
tailscaled.defaults
tailscaled.go
tailscaled.openrc
tailscaled.service
tailscaled_bird.go
tailscaled_notwindows.go
tailscaled_test.go
tailscaled_windows.go
windows-manifest.xml
with_cli.go