]> git.kaiwu.me - nginx.git/commit
QUIC: do not send STOP_SENDING after STREAM fin.
authorRoman Arutyunyan <arut@nginx.com>
Sun, 6 Sep 2020 11:51:23 +0000 (14:51 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Sun, 6 Sep 2020 11:51:23 +0000 (14:51 +0300)
commit6983bc0a37bdec605b471643c2e6a0b0f6d6140f
tree9120de22abe3f0c1050098f3ceeab0064eeb4d1e
parentd6065b2791ad41b6d0b1730ee085dcc8a4dde736
QUIC: do not send STOP_SENDING after STREAM fin.

Previously STOP_SENDING was sent to client upon stream closure if rev->eof and
rev->error were not set.  This was an indirect indication that no RESET_STREAM
or STREAM fin has arrived.  But it is indeed possible that rev->eof is not set,
but STREAM fin has already been received, just not read out by the application.
In this case sending STOP_SENDING does not make sense and can be misleading for
some clients.
src/event/ngx_event_quic.c