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
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2026-04-21 16:00:12 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2026-04-21 16:00:12 +0300
commit1af795fad84931623f96063dd37da5ed1d931305 (patch)
treee70c43bd957f88cd798e8c8fa9708a70cc1561f7 /web/assets
parent085cb8c2167abb43033c2116130652f9ac8249f9 (diff)
kcp : default value maxSendingWindow
MaxSendingWindow must be >= Mtu
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/model/inbound.js2
-rw-r--r--web/assets/js/model/outbound.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index b196a06d..ed72f8f6 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -324,7 +324,7 @@ class KcpStreamSettings extends XrayCommonClass {
uplinkCapacity = 5,
downlinkCapacity = 20,
cwndMultiplier = 1,
- maxSendingWindow = 0,
+ maxSendingWindow = 1350,
) {
super();
this.mtu = mtu;
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 9b09ae7c..2a288c49 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -170,7 +170,7 @@ class KcpStreamSettings extends CommonClass {
uplinkCapacity = 5,
downlinkCapacity = 20,
cwndMultiplier = 1,
- maxSendingWindow = 0,
+ maxSendingWindow = 1350,
) {
super();
this.mtu = mtu;