Browse Source

Turn on freedom splice by default

yuhan6665 2 years ago
parent
commit
999bdc58d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      proxy/freedom/freedom.go

+ 1 - 1
proxy/freedom/freedom.go

@@ -43,7 +43,7 @@ func init() {
 	const defaultFlagValue = "NOT_DEFINED_AT_ALL"
 	value := platform.NewEnvFlag(platform.UseFreedomSplice).GetValue(func() string { return defaultFlagValue })
 	switch value {
-	case "auto", "enable":
+	case defaultFlagValue, "auto", "enable":
 		useSplice = true
 	}
 }