diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-05-22 19:35:46 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-05-22 21:06:49 +0300 |
| commit | 275370e32cddff5905cdf09ab9a60aa6799486e3 (patch) | |
| tree | a068648e6c496fbfc6e465857dc0a744da746617 /sub | |
| parent | e7c59adc5928d9d9ef96480297f7618e3d57837c (diff) | |
new - (Sockopt) tcpMptcp , tcpNoDelay
https://xtls.github.io/en/config/transport.html#sockoptobject
Diffstat (limited to 'sub')
| -rw-r--r-- | sub/subJsonService.go | 2 |
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 |
