mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-23 18:49:22 +00:00
fix a bug in process ack
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user