mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
fix a bug in process ack
This commit is contained in:
parent
63390786ed
commit
b50671f041
@ -278,7 +278,8 @@ func (this *SendingWorker) FindFirstUnacknowledged() {
|
||||
|
||||
// @Private
|
||||
func (this *SendingWorker) ProcessAck(number uint32) {
|
||||
if number-this.firstUnacknowledged > this.window.Size() {
|
||||
// number < this.firstUnacknowledged || number >= this.nextNumber
|
||||
if number-this.firstUnacknowledged > 0x7FFFFFFF || number-this.nextNumber < 0x7FFFFFFF {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user