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/web
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-01-01 20:42:50 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-01-01 20:42:50 +0300
commit9bc5c1d070645bcabdd44095df7b1592ab6f3365 (patch)
treea97ba3f95e86a1c0f7a2ab474381e3350ddbe59e /web
parent26a770055761254f412d4d516044da7890d33de2 (diff)
tcpNoDelay to penetrate
Diffstat (limited to 'web')
-rw-r--r--web/assets/js/model/inbound.js8
-rw-r--r--web/assets/js/model/outbound.js8
-rw-r--r--web/html/xui/form/outbound.html4
-rw-r--r--web/html/xui/form/stream/stream_sockopt.html4
-rw-r--r--web/html/xui/settings.html2
5 files changed, 13 insertions, 13 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index c07699b8..f18a190c 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -816,7 +816,7 @@ class SockoptStreamSettings extends XrayCommonClass {
mark = 0,
tproxy = "off",
tcpMptcp = false,
- tcpNoDelay = false,
+ penetrate = false,
domainStrategy = DOMAIN_STRATEGY_OPTION.USE_IP,
tcpMaxSeg = 1440,
dialerProxy = "",
@@ -834,7 +834,7 @@ class SockoptStreamSettings extends XrayCommonClass {
this.mark = mark;
this.tproxy = tproxy;
this.tcpMptcp = tcpMptcp;
- this.tcpNoDelay = tcpNoDelay;
+ this.penetrate = penetrate;
this.domainStrategy = domainStrategy;
this.tcpMaxSeg = tcpMaxSeg;
this.dialerProxy = dialerProxy;
@@ -855,7 +855,7 @@ class SockoptStreamSettings extends XrayCommonClass {
json.mark,
json.tproxy,
json.tcpMptcp,
- json.tcpNoDelay,
+ json.penetrate,
json.domainStrategy,
json.tcpMaxSeg,
json.dialerProxy,
@@ -876,7 +876,7 @@ class SockoptStreamSettings extends XrayCommonClass {
mark: this.mark,
tproxy: this.tproxy,
tcpMptcp: this.tcpMptcp,
- tcpNoDelay: this.tcpNoDelay,
+ penetrate: this.penetrate,
domainStrategy: this.domainStrategy,
tcpMaxSeg: this.tcpMaxSeg,
dialerProxy: this.dialerProxy,
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index d58839bc..4bf88e0c 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -411,14 +411,14 @@ class SockoptStreamSettings extends CommonClass {
tcpFastOpen = false,
tcpKeepAliveInterval = 0,
tcpMptcp = false,
- tcpNoDelay = false
+ penetrate = false
) {
super();
this.dialerProxy = dialerProxy;
this.tcpFastOpen = tcpFastOpen;
this.tcpKeepAliveInterval = tcpKeepAliveInterval;
this.tcpMptcp = tcpMptcp;
- this.tcpNoDelay = tcpNoDelay;
+ this.penetrate = penetrate;
}
static fromJson(json = {}) {
@@ -428,7 +428,7 @@ class SockoptStreamSettings extends CommonClass {
json.tcpFastOpen,
json.tcpKeepAliveInterval,
json.tcpMptcp,
- json.tcpNoDelay,
+ json.penetrate,
);
}
@@ -438,7 +438,7 @@ class SockoptStreamSettings extends CommonClass {
tcpFastOpen: this.tcpFastOpen,
tcpKeepAliveInterval: this.tcpKeepAliveInterval,
tcpMptcp: this.tcpMptcp,
- tcpNoDelay: this.tcpNoDelay,
+ penetrate: this.penetrate,
};
}
}
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index 0293ffa8..f1f76940 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -474,8 +474,8 @@
<a-form-item label="Multipath TCP">
<a-switch v-model.trim="outbound.stream.sockopt.tcpMptcp"></a-switch>
</a-form-item>
- <a-form-item label="TCP No-Delay" v-if="outbound.stream.sockopt.tcpMptcp">
- <a-switch v-model="outbound.stream.sockopt.tcpNoDelay"></a-switch>
+ <a-form-item label="Penetrate">
+ <a-switch v-model="outbound.stream.sockopt.penetrate"></a-switch>
</a-form-item>
</template>
diff --git a/web/html/xui/form/stream/stream_sockopt.html b/web/html/xui/form/stream/stream_sockopt.html
index c08074ee..9eea55ea 100644
--- a/web/html/xui/form/stream/stream_sockopt.html
+++ b/web/html/xui/form/stream/stream_sockopt.html
@@ -32,8 +32,8 @@
<a-form-item label="Multipath TCP">
<a-switch v-model.trim="inbound.stream.sockopt.tcpMptcp"></a-switch>
</a-form-item>
- <a-form-item label="TCP No-Delay" v-if="inbound.stream.sockopt.tcpMptcp">
- <a-switch v-model.trim="inbound.stream.sockopt.tcpNoDelay"></a-switch>
+ <a-form-item label="Penetrate">
+ <a-switch v-model.trim="inbound.stream.sockopt.penetrate"></a-switch>
</a-form-item>
<a-form-item label="V6 Only">
<a-switch v-model.trim="inbound.stream.sockopt.V6Only"></a-switch>
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 0c70ca1c..2c8515e2 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -439,7 +439,7 @@
sockopt: {
tcpKeepAliveIdle: 100,
tcpMptcp: true,
- tcpNoDelay: true
+ penetrate: true
}
}
},