aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2023-05-02 17:54:53 +0400
committerRoman Arutyunyan <arut@nginx.com>2023-05-02 17:54:53 +0400
commit2187e5e1d9667aa5d0c137186a3e91c3c88dfa23 (patch)
treefceb6649b0e4da633f4500cd4f86a31f86c6ebb3 /src/core/ngx_connection.c
parentaf18ce35060288a393c3b3c0e30474353779bd77 (diff)
downloadnginx-2187e5e1d9667aa5d0c137186a3e91c3c88dfa23.tar.gz
nginx-2187e5e1d9667aa5d0c137186a3e91c3c88dfa23.zip
QUIC: optimized immediate close.
Previously, before sending CONNECTION_CLOSE to client, all pending frames were sent. This is redundant and could prevent CONNECTION_CLOSE from being sent due to congestion control. Now pending frames are freed and CONNECTION_CLOSE is sent without congestion control, as advised by RFC 9002: Packets containing frames besides ACK or CONNECTION_CLOSE frames count toward congestion control limits and are considered to be in flight.
Diffstat (limited to 'src/core/ngx_connection.c')
0 files changed, 0 insertions, 0 deletions