Skip to content

Commit

Permalink
Turn on freedom splice by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhan6665 committed Oct 29, 2023
1 parent 4f05e0a commit 999bdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/freedom/freedom.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

3 comments on commit 999bdc5

@chika0801
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2570 (comment)

意思是 XRAY_BUF_SPLICE=enable 不用再手动设置这个变量,默认启用了吧,好似

@yuhan6665
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2570 (comment)

意思是 XRAY_BUF_SPLICE=enable 不用再手动设置这个变量,默认启用了吧,好似

对 感谢测试!

@chika0801
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

手动加了变量的测试vps一直当主力用,我没发现什么异常。

Please sign in to comment.