forked from quic-go/quic-go
parse and write ACKs that for packet number 0
This commit is contained in:
@@ -89,7 +89,7 @@ func ParseAckFrame(r *bytes.Reader, version protocol.VersionNumber) (*AckFrame,
|
||||
return nil, ErrInvalidFirstAckRange
|
||||
}
|
||||
|
||||
if ackBlockLength > largestAcked {
|
||||
if ackBlockLength > largestAcked+1 {
|
||||
return nil, ErrInvalidAckRanges
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user