Jordan Whited ac0f1cfcf4
net/netcheck: change DERP HTTPS latency measurement to TCP connect time
HTTPS and ICMP latency are fallbacks when STUN doesn't work. The lowest
value wins. When ICMP doesn't work you just get HTTPS. HTTPS latency was
way more variable than it needed to be as we were measuring "server
processing time" (inclusive of TLS, HTTPS) instead of just TCP connect
time.

We don't need to perform an HTTPS request, we really just need a TCP
ping, but aiming for a simpler change to start.

Updates tailscale/corp#22114

Signed-off-by: Jordan Whited <jordan@tailscale.com>
2024-08-08 15:48:19 -07:00
..
2024-04-16 15:32:38 -07:00
2024-04-16 15:32:38 -07:00
2024-07-08 19:10:44 -07:00
2024-08-03 11:38:00 -07:00
2024-06-05 15:24:04 -07:00
2024-08-05 09:25:24 -07:00
2024-04-16 15:32:38 -07:00