]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: h3: fix frame type definition
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 9 Jun 2022 09:51:01 +0000 (11:51 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 9 Jun 2022 12:34:43 +0000 (14:34 +0200)
Frame type has changed during HTTP/3 specification process. Adjust it to
reflect the latest RFC 9114 status.

Concretly, type for GOAWAY and MAX_PUSH_ID frames has been adjusted.
The impact of this bug is limited as currently these frames are not
handled by haproxy and are ignored.

This can be backported up to 2.6.

include/haproxy/h3.h

index 7c66714826baf365f16da8e58dc79ddf39fdcdae..5953da61489ac551a66edd5ba204b4badcdd49e8 100644 (file)
@@ -77,12 +77,14 @@ enum h3_err {
 enum h3_ft       {
        H3_FT_DATA         = 0x00,
        H3_FT_HEADERS      = 0x01,
-       /* There is a hole here */
+       /* hole */
        H3_FT_CANCEL_PUSH  = 0x03,
        H3_FT_SETTINGS     = 0x04,
        H3_FT_PUSH_PROMISE = 0x05,
-       H3_FT_GOAWAY       = 0x06,
-       H3_FT_MAX_PUSH_ID  = 0x07,
+       /* hole */
+       H3_FT_GOAWAY       = 0x07,
+       /* hole */
+       H3_FT_MAX_PUSH_ID  = 0x0d,
 };
 
 /* Stream types */