Make lazy connections opt-out with NB_LAZY_CONN and MDM overrides

This commit is contained in:
Viktor Liu
2026-06-30 17:01:24 +02:00
parent 4ef65294e9
commit 159e5736cd
23 changed files with 257 additions and 145 deletions
+4 -1
View File
@@ -41,6 +41,10 @@ const (
// construction — only one mode can be set at a time.
KeySplitTunnelMode = "splitTunnelMode"
KeySplitTunnelApps = "splitTunnelApps"
// KeyLazyConnection forces the lazy-connection feature on or off, overriding
// the management feature flag. Values: "on" / "off" (absent = defer to management).
KeyLazyConnection = "lazyConnection"
)
// Split-tunnel mode literals (KeySplitTunnelMode values).
@@ -67,7 +71,6 @@ var boolStringLiterals = map[string]bool{
"no": false,
}
// Policy holds MDM-managed settings read from the platform source. A nil or
// empty Policy means no enforcement is active.
type Policy struct {