tailscale/control/controlclient
Brad Fitzpatrick bc77c66290 control/controlclient: use lite map request handler to avoid aborting streams
Previously, any change to endpoints or hostinfo (or hostinfo's
netinfo) would result in the long-running map request HTTP stream
being torn down and restarted, losing all compression context along
with it.

This change makes us instead send a lite map request (OmitPeers: true,
Stream: false) that doesn't subscribe to anything, and then the
coordination server knows to not close other streams for that node
when it recives a lite request.

Fixes tailscale/corp#797

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-01-08 09:19:06 -08:00
..
auto.go control/controlclient: use lite map request handler to avoid aborting streams 2021-01-08 09:19:06 -08:00
controlclient_test.go tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux 2020-07-27 21:14:28 -07:00
direct_clone.go ipn: fix netmap change tracking and dns map generation (#609) 2020-07-28 21:47:23 -04:00
direct_test.go tailcfg, control/controlclient: support delta-encoded netmaps 2020-08-07 21:49:49 -07:00
direct.go control/controlclient: use lite map request handler to avoid aborting streams 2021-01-08 09:19:06 -08:00
filter.go wgengine/filter: remove the Matches type. 2020-11-09 21:39:25 -08:00
hostinfo_linux.go control/controlclient, version/distro: detect NixOS explicitly 2020-12-21 21:03:04 -08:00
hostinfo_windows.go control/controlclient: deal with localized 'Version' string getting Windows version 2020-09-13 10:06:20 -07:00
netmap_test.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 2020-12-28 13:00:42 -08:00
netmap.go wgkey: new package 2020-12-30 17:33:02 -08:00
persist_test.go wgkey: new package 2020-12-30 17:33:02 -08:00