diff --git a/sub/subJsonService.go b/sub/subJsonService.go
index 5f994d87..27749fe4 100644
--- a/sub/subJsonService.go
+++ b/sub/subJsonService.go
@@ -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, "tcpNoDelay": true}`)
+ streamSettings["sockopt"] = json_util.RawMessage(`{"dialerProxy": "fragment", "tcpKeepAliveIdle": 100, "penetrate": true}`)
}
// remove proxy protocol
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index dd4f09b1..3bf7e944 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -373,12 +373,12 @@ class RealityStreamSettings extends CommonClass {
};
class SockoptStreamSettings extends CommonClass {
- constructor(dialerProxy = "", tcpFastOpen = false, tcpKeepAliveInterval = 0, tcpNoDelay = false) {
+ constructor(dialerProxy = "", tcpFastOpen = false, tcpKeepAliveInterval = 0, penetrate = false) {
super();
this.dialerProxy = dialerProxy;
this.tcpFastOpen = tcpFastOpen;
this.tcpKeepAliveInterval = tcpKeepAliveInterval;
- this.tcpNoDelay = tcpNoDelay;
+ this.penetrate = penetrate;
}
static fromJson(json = {}) {
@@ -387,7 +387,7 @@ class SockoptStreamSettings extends CommonClass {
json.dialerProxy,
json.tcpFastOpen,
json.tcpKeepAliveInterval,
- json.tcpNoDelay,
+ json.penetrate,
);
}
@@ -396,7 +396,7 @@ class SockoptStreamSettings extends CommonClass {
dialerProxy: this.dialerProxy,
tcpFastOpen: this.tcpFastOpen,
tcpKeepAliveInterval: this.tcpKeepAliveInterval,
- tcpNoDelay: this.tcpNoDelay,
+ penetrate: this.penetrate,
};
}
}
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index 4ef6b489..e3230ae7 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -466,8 +466,8 @@
-
-
+
+
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index b61f445a..a2c2829e 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -459,7 +459,7 @@
streamSettings: {
sockopt: {
tcpKeepAliveIdle: 100,
- tcpNoDelay: true
+ penetrate: true
}
}
},