Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_freebsd.h @ 8020:69033a50c3ae quic
QUIC: fixed ACK Ranges processing.
According to quic-transport draft 29, section 19.3.1:
The value of the Gap field establishes the largest packet number
value for the subsequent ACK Range using the following formula:
largest = previous_smallest - gap - 2
Thus, given a largest packet number for the range, the smallest value
is determined by the formula:
smallest = largest - ack_range
While here, changed min/max to uint64_t for consistency.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 07 Aug 2020 12:34:15 +0300 |
parents | d620f497c50f |
children |
comparison
equal
deleted
inserted
replaced
8019:fc16e303003a | 8020:69033a50c3ae |
---|