]> git.kaiwu.me - nginx.git/commit
QUIC: fixed congesion control in GSO mode.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 27 Jul 2023 09:35:42 +0000 (13:35 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 27 Jul 2023 09:35:42 +0000 (13:35 +0400)
commit968293d5e721b9c7ff4098ee76a3313b0b7fd2ac
tree002151aa0b542bda8a39f4e8f7077eb778760513
parent6f5f17358ee6286e491f287eeda5cf2b3946bab6
QUIC: fixed congesion control in GSO mode.

In non-GSO mode, a datagram is sent if congestion window is not exceeded by the
time of send.  The window could be exceeded by a small amount after the send.
In GSO mode, congestion window was checked in a similar way, but for all
concatenated datagrams as a whole.  This could result in exceeding congestion
window by a lot.  Now congestion window is checked for every datagram in GSO
mode as well.
src/event/quic/ngx_event_quic_output.c