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().

(cherry picked from commit f8df9bd6a5057647c2999ace0b27474c7008b421)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit f97acb38caaaab08d73a452de2bd46b6b68ec4e4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed