diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2020-08-07 12:34:15 +0300 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-08-07 12:34:15 +0300 |
| commit | e4ca695700b996f1347662a2666881fdc09ea703 (patch) | |
| tree | 6f66f598ada1d1b746a1da30c0f2391d5815e90e /src/http/ngx_http_request.c | |
| parent | 7d1a1fb6de71ba0ad7ac324a6c43a10a0f5d8ae6 (diff) | |
| download | nginx-e4ca695700b996f1347662a2666881fdc09ea703.tar.gz nginx-e4ca695700b996f1347662a2666881fdc09ea703.tar.bz2 | |
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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
