WIP: rebase fork onto upstream/main (v1.103.0) #15

Closed
codinget wants to merge 670 commits from webnet into save/webnet-2026-07-29
2 changed files with 4 additions and 6 deletions
Showing only changes of commit 6bf05cb63e - Show all commits
+3 -3
View File
@@ -339,10 +339,10 @@ type Notify struct {
// - On the initial Notify if the watcher requested
// [NotifyInitialNetMap] (any platform).
// - On subsequent Notify messages, only when tailscaled is running
// on Windows, macOS, or iOS. On Linux and other platforms it is
// always nil after the initial notify.
// on Windows. On all other platforms it is always nil after the
// initial notify.
//
// Deprecated: this field is only populated on Windows, macOS, and iOS and
// Deprecated: this field is only populated on Windows and
// is slated for removal in favor of [Notify.InitialStatus] +
// [Notify.SelfChange] / [Notify.PeerChanges], etc, as this field
// doesn't scale.
+1 -3
View File
@@ -24,9 +24,7 @@ import (
// runtime.GOOS is a compile-time constant, so the producer-side code that
// builds and ships NetMap on the bus is dead-code-eliminated on Linux and
// other geese where this is false.
const goosGetsLegacyNetmapNotify = runtime.GOOS == "windows" ||
runtime.GOOS == "darwin" ||
runtime.GOOS == "ios"
const goosGetsLegacyNetmapNotify = runtime.GOOS == "windows"
type rateLimitingBusSender struct {
fn func(*ipn.Notify) (keepGoing bool)