]> git.kaiwu.me - nginx.git/commit
QUIC: send RESET_STREAM in response to STOP_SENDING.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 21 Sep 2021 13:24:33 +0000 (16:24 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 21 Sep 2021 13:24:33 +0000 (16:24 +0300)
commit010f974e44082625056f4282ab66696f3708d4cf
treea32d30fa0f83010c42c2c970b41e28b384ea3e68
parent22f2dc2a875318870887315d9697b47911172977
QUIC: send RESET_STREAM in response to STOP_SENDING.

As per RFC 9000:

   An endpoint that receives a STOP_SENDING frame MUST send a RESET_STREAM
   frame if the stream is in the "Ready" or "Send" state.

   An endpoint SHOULD copy the error code from the STOP_SENDING frame to
   the RESET_STREAM frame it sends, but it can use any application error code.
src/event/quic/ngx_event_quic_streams.c