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/control/controlclient
Brad Fitzpatrick 2f04f49376 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>
5 years ago
..
auto.go control/controlclient: use lite map request handler to avoid aborting streams 5 years ago
controlclient_test.go tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux 5 years ago
direct.go control/controlclient: use lite map request handler to avoid aborting streams 5 years ago
direct_clone.go ipn: fix netmap change tracking and dns map generation (#609) 5 years ago
direct_test.go tailcfg, control/controlclient: support delta-encoded netmaps 5 years ago
filter.go wgengine/filter: remove the Matches type. 5 years ago
hostinfo_linux.go control/controlclient, version/distro: detect NixOS explicitly 5 years ago
hostinfo_windows.go control/controlclient: deal with localized 'Version' string getting Windows version 5 years ago
netmap.go wgkey: new package 5 years ago
netmap_test.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 5 years ago
persist_test.go wgkey: new package 5 years ago