diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-21 15:50:37 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-21 15:50:37 +0300 |
| commit | 085cb8c2167abb43033c2116130652f9ac8249f9 (patch) | |
| tree | d96e5a345777004c181da79f5ab2f854a895313d | |
| parent | 2a9ba2badce25d16648a385134e3b33f1e906581 (diff) | |
Set CWND multiplier default and min to 1
| -rw-r--r-- | web/assets/js/model/inbound.js | 2 | ||||
| -rw-r--r-- | web/assets/js/model/outbound.js | 2 | ||||
| -rw-r--r-- | web/html/form/outbound.html | 2 | ||||
| -rw-r--r-- | web/html/form/stream/stream_kcp.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 4eeb1964..b196a06d 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -323,7 +323,7 @@ class KcpStreamSettings extends XrayCommonClass { tti = 20, uplinkCapacity = 5, downlinkCapacity = 20, - cwndMultiplier = 0, + cwndMultiplier = 1, maxSendingWindow = 0, ) { super(); diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index 9a26a954..9b09ae7c 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -169,7 +169,7 @@ class KcpStreamSettings extends CommonClass { tti = 20, uplinkCapacity = 5, downlinkCapacity = 20, - cwndMultiplier = 0, + cwndMultiplier = 1, maxSendingWindow = 0, ) { super(); diff --git a/web/html/form/outbound.html b/web/html/form/outbound.html index 7bac266f..a9119cf0 100644 --- a/web/html/form/outbound.html +++ b/web/html/form/outbound.html @@ -587,7 +587,7 @@ <a-form-item label="CWND Multiplier"> <a-input-number v-model.number="outbound.stream.kcp.cwndMultiplier" - min="0" + min="1" ></a-input-number> </a-form-item> <a-form-item label="Max Sending Window"> diff --git a/web/html/form/stream/stream_kcp.html b/web/html/form/stream/stream_kcp.html index a07b843f..e8fea76d 100644 --- a/web/html/form/stream/stream_kcp.html +++ b/web/html/form/stream/stream_kcp.html @@ -33,7 +33,7 @@ <a-form-item label="CWND Multiplier"> <a-input-number v-model.number="inbound.stream.kcp.cwndMultiplier" - :min="0" + :min="1" ></a-input-number> </a-form-item> <a-form-item label="Max Sending Window"> |
