diff options
Diffstat (limited to 'sub/subJsonService.go')
| -rw-r--r-- | sub/subJsonService.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sub/subJsonService.go b/sub/subJsonService.go index 680a078d..8786541e 100644 --- a/sub/subJsonService.go +++ b/sub/subJsonService.go @@ -21,7 +21,7 @@ type SubJsonService struct { configJson map[string]interface{} defaultOutbounds []json_util.RawMessage fragment string - noises string + noises string mux string inboundService service.InboundService @@ -61,7 +61,7 @@ func NewSubJsonService(fragment string, noises string, mux string, rules string, configJson: configJson, defaultOutbounds: defaultOutbounds, fragment: fragment, - noises: noises, + noises: noises, mux: mux, SubService: subService, } @@ -217,7 +217,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, "tcpMptcp": true, "tcpNoDelay": true}`) + streamSettings["sockopt"] = json_util.RawMessage(`{"dialerProxy": "fragment", "tcpKeepAliveIdle": 100, "tcpMptcp": true, "penetrate": true}`) } // remove proxy protocol |
