BUG/MINOR: h3: fix frame type definition

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.
This commit is contained in:
Amaury Denoyelle 2022-06-09 11:51:01 +02:00
parent 0012f899dd
commit c715eb7898

View 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 */