luci-app-ssr-plus: Fix fragment 'sockopt' tcpMptcp and tcpNoDelay options together use.

See: https://xtls.github.io/config/transport.html#sockoptobject
This commit is contained in:
zxlhhyccc committed 2024-11-04 21:51:51 +08:00
1 parent b10949e182
commit 6ffe77cc0b
1 file changed
+2 -1
@@ -324,7 +324,8 @@ if xray_fragment.fragment ~= "0" or (xray_fragment.noise ~= "0" and xray_noise.e
},
streamSettings = {
sockopt = {
tcpNoDelay = true
tcpMptcp = (server.mptcp == "1") and true or false, -- MPTCP
tcpNoDelay = (server.mptcp == "1") and true or false -- MPTCP
}
}
})