]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: qpack: reject invalid dynamic table capacity
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Feb 2024 17:23:12 +0000 (18:23 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 15 Feb 2024 16:46:53 +0000 (17:46 +0100)
commitf8df9bd6a5057647c2999ace0b27474c7008b421
tree8357abf92d92e7891421b755ff266f834b527152
parentbd71212ea9900d1dc7c5aefe62df44c023520a38
BUG/MINOR: qpack: reject invalid dynamic table capacity

Currently haproxy does not implement dynamic table support for QPACK. As
such, dynamic table capacity advertized via H3 SETTINGS is 0. When
receiving a non-null Set Dynamic Table Capacity instruction, close
immediately the connection using QPACK_ENCODER_STREAM_ERROR.

Prior to this patch, such instructions were simply ignored. This is non
conform to QUIC specification.

This should be backported up to 2.6. Note that on 2.6 qcc_set_error()
must be replaced by function qcc_emit_cc_app().
src/qpack-dec.c