]> git.kaiwu.me - nginx.git/commit
HTTP/3: skip unknown frames on request stream.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 24 Aug 2020 06:56:36 +0000 (09:56 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 24 Aug 2020 06:56:36 +0000 (09:56 +0300)
commitd294369915461ba764426c709301b6c66ed33681
tree46e9bef435e7e40be5ca421b1c7e8a4465c304f1
parent46173bd4b40023fd5e35bfe77b9ac2205e0c6bb0
HTTP/3: skip unknown frames on request stream.

As per HTTP/3 draft 29, section 4.1:

   Frames of unknown types (Section 9), including reserved frames
   (Section 7.2.8) MAY be sent on a request or push stream before,
   after, or interleaved with other frames described in this section.

Also, trailers frame is now used as an indication of the request body end.
src/http/v3/ngx_http_v3_parse.c
src/http/v3/ngx_http_v3_parse.h
src/http/v3/ngx_http_v3_request.c