mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
allow control window larger than sending window
This commit is contained in:
parent
968fffcffb
commit
9c3ebc0453
@ -341,8 +341,8 @@ func (this *SendingWorker) OnPacketLoss(lost bool) {
|
||||
if this.controlWindow < 4 {
|
||||
this.controlWindow = 4
|
||||
}
|
||||
if this.controlWindow > this.windowSize {
|
||||
this.controlWindow = this.windowSize
|
||||
if this.controlWindow > 2*this.windowSize {
|
||||
this.controlWindow = 2 * this.windowSize
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user