mKCP transport: Add cwndMultiplier

Replace legacy KCP buffer options with cwndMultiplier and maxSendingWindow across models and UI. Updated KcpStreamSettings in web/assets/js/model/inbound.js and web/assets/js/model/outbound.js (constructor, fromJson and toJson) to remove congestion/readBuffer/writeBuffer and use cwndMultiplier/maxSendingWindow instead. Updated web/html/form/outbound.html to reflect the new KCP fields in the stream form and to include extensive template formatting/markup cleanup for consistency and readability.
This commit is contained in:
MHSanaei
2026-04-20 17:45:14 +02:00
parent 6d0e7ec495
commit 86304226a9
4 changed files with 787 additions and 333 deletions
+4 -7
View File
@@ -30,18 +30,15 @@
:min="0"
></a-input-number>
</a-form-item>
<a-form-item label="Congestion">
<a-switch v-model="inbound.stream.kcp.congestion"></a-switch>
</a-form-item>
<a-form-item label="Read Buffer (MB)">
<a-form-item label="CWND Multiplier">
<a-input-number
v-model.number="inbound.stream.kcp.readBuffer"
v-model.number="inbound.stream.kcp.cwndMultiplier"
:min="0"
></a-input-number>
</a-form-item>
<a-form-item label="Write Buffer (MB)">
<a-form-item label="Max Sending Window">
<a-input-number
v-model.number="inbound.stream.kcp.writeBuffer"
v-model.number="inbound.stream.kcp.maxSendingWindow"
:min="0"
></a-input-number>
</a-form-item>