mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-09 11:52:00 -04:00
The WinUI GUI was the last consumer of the legacy Notify.NetMap field on runtime (non-initial) IPN bus messages. It was converted to peer deltas in tailscale/corp#47958, and the GUI and tailscaled ship together as a unit on Windows, so tailscaled no longer needs to build and emit full netmaps on the bus on any platform. Remove goosGetsLegacyNetmapNotify and the code it gated. The initial netmap (NotifyInitialNetMap) is unaffected; NotifyNoNetMap is now a no-op but remains accepted for compatibility. With no runtime netmaps left to rate limit, the NotifyRateLimit subscription bit is meaningless, so remove the rateLimitingBusSender machinery too. The bit value stays reserved under the name ObsoleteNotifyRateLimit and ValidateNotifyWatchOpt now rejects subscriptions that set it; previously it was only rejected in combination with new-style delta bits. Updates #12542 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> Change-Id: Ic6184ea549726de9d9d56f133aae21e53f62cbc5