Disable multipath TCP by default via GODEBUG

This commit is contained in:
世界
2025-12-31 02:13:49 +08:00
parent 6a750f4522
commit 85f5f6cebb
7 changed files with 17 additions and 17 deletions

View File

@@ -44,7 +44,7 @@ get_version() {
get_ldflags() {
local version
version=$(get_version)
echo "-X 'github.com/sagernet/sing-box/constant.Version=${version}' -s -w -buildid= -checklinkname=0"
echo "-X 'github.com/sagernet/sing-box/constant.Version=${version}' -X 'internal/godebug.defaultGODEBUG=multipathtcp=0' -s -w -buildid= -checklinkname=0"
}
build_sing_box() {