diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2023-11-03 19:42:52 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2023-11-04 11:48:40 -0700 |
| commit | b2b836214c6daa2e300c923bf933c72ab48dcae0 (patch) | |
| tree | cd69a4cf83f0e87a44824d8551b2d089e674064d /control/controlknobs | |
| parent | 8dc6de6f58446dba4affb45bc8c7bcf057b08b4b (diff) | |
| download | tailscale-b2b836214c6daa2e300c923bf933c72ab48dcae0.tar.xz tailscale-b2b836214c6daa2e300c923bf933c72ab48dcae0.zip | |
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>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
