Explorar el Código

Turn on freedom splice by default

yuhan6665 hace 2 años
padre
commit
999bdc58d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 	}
 }