aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2025-04-14 17:16:47 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2025-04-15 19:01:36 +0400
commitaa49a416b8ea762558211de25d6ee70ca73bb373 (patch)
tree93a28cd91b74608cec8fae4bd83c5259f1e8c9ae /src/os/unix/ngx_time.h
parent2fb32ff24d431211b673ff9c854352ca0c74e27c (diff)
downloadnginx-aa49a416b8ea762558211de25d6ee70ca73bb373.tar.gz
nginx-aa49a416b8ea762558211de25d6ee70ca73bb373.zip
QUIC: dynamic packet threshold.
RFC 9002, Section 6.1.1 defines packet reordering threshold as 3. Testing shows that such low value leads to spurious packet losses followed by congestion window collapse. The change implements dynamic packet threshold detection based on in-flight packet range. Packet threshold is defined as half the number of in-flight packets, with mininum value of 3. Also, renamed ngx_quic_lost_threshold() to ngx_quic_time_threshold() for better compliance with RFC 9002 terms.
Diffstat (limited to 'src/os/unix/ngx_time.h')
0 files changed, 0 insertions, 0 deletions