mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-25 01:51:28 +00:00
Turn on freedom splice by default
This commit is contained in:
parent
4f05e0ac2b
commit
999bdc58d3
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue