]> git.kaiwu.me - nginx.git/commit
QUIC: fixed triggering stream read event (ticket #2409).
authorRoman Arutyunyan <arut@nginx.com>
Wed, 23 Nov 2022 14:50:26 +0000 (18:50 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 23 Nov 2022 14:50:26 +0000 (18:50 +0400)
commitb015d4965ef296b7b31adae9165c5c049cf9026c
tree0cfbcdde852bc198ca47cceb99bba882431d1c61
parentbc79d773f9d9443a9654930a5da882c92e857038
QUIC: fixed triggering stream read event (ticket #2409).

If a client packet carrying a stream data frame is not acked due to packet loss,
the stream data is retransmitted later by client.  It's also possible that the
retransmitted range is bigger than before due to more stream data being
available by then.  If the original data was read out by the application,
there would be no read event triggered by the retransmitted frame, even though
it contains new data.
src/event/quic/ngx_event_quic_streams.c