]> git.kaiwu.me - nginx.git/commit
HTTP/3: send Stream Cancellation instruction.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 18 Oct 2021 11:48:11 +0000 (14:48 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 18 Oct 2021 11:48:11 +0000 (14:48 +0300)
commit5c99f43e6f6f2e97a625bf00330f2f8d5af29815
treefb49453aca6dc83c26c1d4937332cfee19b279d5
parenta6fb8fe85077bd10e11231c70ece803284890520
HTTP/3: send Stream Cancellation instruction.

As per quic-qpack-21:

   When a stream is reset or reading is abandoned, the decoder emits a
   Stream Cancellation instruction.

Previously the instruction was not sent.  Now it's sent when closing QUIC
stream connection if dynamic table capacity is non-zero and eof was not
received from client.  The latter condition means that a trailers section
may still be on its way from client and the stream needs to be cancelled.
src/http/v3/ngx_http_v3_request.c