mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-24 08:12:19 +07:00
kcp : default value maxSendingWindow
MaxSendingWindow must be >= Mtu
This commit is contained in:
@@ -324,7 +324,7 @@ class KcpStreamSettings extends XrayCommonClass {
|
|||||||
uplinkCapacity = 5,
|
uplinkCapacity = 5,
|
||||||
downlinkCapacity = 20,
|
downlinkCapacity = 20,
|
||||||
cwndMultiplier = 1,
|
cwndMultiplier = 1,
|
||||||
maxSendingWindow = 0,
|
maxSendingWindow = 1350,
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
this.mtu = mtu;
|
this.mtu = mtu;
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ class KcpStreamSettings extends CommonClass {
|
|||||||
uplinkCapacity = 5,
|
uplinkCapacity = 5,
|
||||||
downlinkCapacity = 20,
|
downlinkCapacity = 20,
|
||||||
cwndMultiplier = 1,
|
cwndMultiplier = 1,
|
||||||
maxSendingWindow = 0,
|
maxSendingWindow = 1350,
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
this.mtu = mtu;
|
this.mtu = mtu;
|
||||||
|
|||||||
Reference in New Issue
Block a user