Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sub
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-05-22 19:35:46 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-05-22 21:06:49 +0300
commit275370e32cddff5905cdf09ab9a60aa6799486e3 (patch)
treea068648e6c496fbfc6e465857dc0a744da746617 /sub
parente7c59adc5928d9d9ef96480297f7618e3d57837c (diff)
new - (Sockopt) tcpMptcp , tcpNoDelay
https://xtls.github.io/en/config/transport.html#sockoptobject
Diffstat (limited to 'sub')
-rw-r--r--sub/subJsonService.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/subJsonService.go b/sub/subJsonService.go
index 057c1e81..76d0b126 100644
--- a/sub/subJsonService.go
+++ b/sub/subJsonService.go
@@ -211,7 +211,7 @@ func (s *SubJsonService) streamData(stream string) map[string]interface{} {
delete(streamSettings, "sockopt")
if s.fragment != "" {
- streamSettings["sockopt"] = json_util.RawMessage(`{"dialerProxy": "fragment", "tcpKeepAliveIdle": 100, "tcpNoDelay": true}`)
+ streamSettings["sockopt"] = json_util.RawMessage(`{"dialerProxy": "fragment", "tcpKeepAliveIdle": 100, "tcpMptcp": true, "tcpNoDelay": true}`)
}
// remove proxy protocol