mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +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