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/derp/derphttp
Brad Fitzpatrick b2b836214c derp/derphttp: fix derptrack fix
3d7fb6c21d dropped the explicit called to (*Client).connect when
its (*Client).WatchConnectionChanges got removed+refactored.

This puts it back, but in RunWatchConnectionLoop, before the call
to the (*Client).ServerPublicKey accessor, which is documented to
return the zero value (which is what broke us) on an unconnected
connection.

Plus some tests.

Fixes tailscale/corp#15604

Change-Id: I0f242816f5ee4ad3bb0bf0400abc961dbe9f5fc8
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
11 months ago
..
derphttp_client.go derp/derphttp: fix race in mesh watcher 11 months ago
derphttp_server.go all: update copyright and license headers 2 years ago
derphttp_test.go derp/derphttp: fix derptrack fix 11 months ago
mesh_client.go derp/derphttp: fix derptrack fix 11 months ago
websocket.go net/wsconn: accept a remote addr string and plumb it through 1 year ago