kcp : default value maxSendingWindow

MaxSendingWindow must be >= Mtu
This commit is contained in:
MHSanaei
2026-04-21 15:00:12 +02:00
parent 085cb8c216
commit 1af795fad8
2 changed files with 2 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ class KcpStreamSettings extends CommonClass {
uplinkCapacity = 5,
downlinkCapacity = 20,
cwndMultiplier = 1,
maxSendingWindow = 0,
maxSendingWindow = 1350,
) {
super();
this.mtu = mtu;