]> git.kaiwu.me - nginx.git/commit
QUIC: congestion control in ngx_quic_frame_sendto().
authorRoman Arutyunyan <arut@nginx.com>
Wed, 29 Nov 2023 17:41:29 +0000 (21:41 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 29 Nov 2023 17:41:29 +0000 (21:41 +0400)
commitccca701dc6f3644b8d6d8d31d7094edaab703d7a
tree10d101e0ec28dd779e3d9da18cc0135c782aa7dc
parent0c0f3405544404b354780ddbeacf5d54f122bcdc
QUIC: congestion control in ngx_quic_frame_sendto().

Previously ngx_quic_frame_sendto() ignored congestion control and did not
contribute to in_flight counter.

Now congestion control window is checked unless ignore_congestion flag is set.
Also, in_flight counter is incremented and the frame is stored in ctx->sent
queue if it's ack-eliciting.  This behavior is now similar to
ngx_quic_output_packet().
src/event/quic/ngx_event_quic_ack.c
src/event/quic/ngx_event_quic_migration.c
src/event/quic/ngx_event_quic_output.c
src/event/quic/ngx_event_quic_transport.h