aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-08-07 12:34:15 +0300
committerSergey Kandaurov <pluknet@nginx.com>2020-08-07 12:34:15 +0300
commite4ca695700b996f1347662a2666881fdc09ea703 (patch)
tree6f66f598ada1d1b746a1da30c0f2391d5815e90e /src/http/ngx_http_request.h
parent7d1a1fb6de71ba0ad7ac324a6c43a10a0f5d8ae6 (diff)
downloadnginx-e4ca695700b996f1347662a2666881fdc09ea703.tar.gz
nginx-e4ca695700b996f1347662a2666881fdc09ea703.zip
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 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions