You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Brad Fitzpatrick 7f68e097dd net/netcheck: fix HTTPS fallback bug from earlier today
My earlier 3fa58303d0 tried to implement
the net/http.Tranhsport.DialTLSContext hook, but I didn't return a
*tls.Conn, so we ended up sending a plaintext HTTP request to an HTTPS
port. The response ended up being Go telling as such, not the
/derp/latency-check handler's response (which is currently still a
404). But we didn't even get the 404.

This happened to work well enough because Go's built-in error response
was still a valid HTTP response that we can measure for timing
purposes, but it's not a great answer. Notably, it means we wouldn't
be able to get a future handler to run server-side and count those
latency requests.
6 years ago
..
dnscache net/dnscache: remove unnecessary lint warning. 6 years ago
interfaces Make netcheck handle v6-only interfaces better, faster. 6 years ago
netcheck net/netcheck: fix HTTPS fallback bug from earlier today 6 years ago
netns net/netns: don't return an error if we're not root and running the tailscale binary 6 years ago
nettest scripts: add a license header checker. 6 years ago
stun stun, netcheck: move under net 6 years ago
tlsdial net/tlsdial: update package doc to say it's now somewhat useless 6 years ago