]> git.kaiwu.me - nginx.git/commit
HTTP/3: reject HTTP/2 frames.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 16 Sep 2020 11:27:23 +0000 (12:27 +0100)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 16 Sep 2020 11:27:23 +0000 (12:27 +0100)
commit9fff3b7516936ef663926f33c30b15b08ecfd7ae
tree722d2885de5abdd457ff15b0e59d67bc1692b51f
parentd294369915461ba764426c709301b6c66ed33681
HTTP/3: reject HTTP/2 frames.

As per HTTP/3 draft 30, section 7.2.8:

   Frame types that were used in HTTP/2 where there is no corresponding
   HTTP/3 frame have also been reserved (Section 11.2.1).  These frame
   types MUST NOT be sent, and their receipt MUST be treated as a
   connection error of type H3_FRAME_UNEXPECTED.
src/http/v3/ngx_http_v3_parse.c