diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-21 16:00:12 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-21 16:00:12 +0300 |
| commit | 1af795fad84931623f96063dd37da5ed1d931305 (patch) | |
| tree | e70c43bd957f88cd798e8c8fa9708a70cc1561f7 | |
| parent | 085cb8c2167abb43033c2116130652f9ac8249f9 (diff) | |
kcp : default value maxSendingWindow
MaxSendingWindow must be >= Mtu
| -rw-r--r-- | web/assets/js/model/inbound.js | 2 | ||||
| -rw-r--r-- | web/assets/js/model/outbound.js | 2 |
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; |
