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
Maisem Ali c60cbca371 control/controlclient: store netinfo and hostinfo separately
Currently, when SetNetInfo is called it sets the value on
hostinfo.NetInfo. However, when SetHostInfo is called it overwrites the
hostinfo field which may mean it also clears out the NetInfo it had just
received.
This commit stores NetInfo separately and combines it into Hostinfo as
needed so that control is always notified of the latest values.

Also, remove unused copies of Hostinfo from ipn.Status and
controlclient.Auto.

Updates #tailscale/corp#4824 (maybe fixes)

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
controlbase control/controlbase: don't enforce a max protocol version at handshake time. 2 years ago
controlclient control/controlclient: store netinfo and hostinfo separately 2 years ago
controlhttp control/controlhttp: don't assume port 80 upgrade response will work 2 years ago
controlknobs envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 2 years ago