BUG/MINOR: qpack: support header litteral name decoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 14 Jun 2022 14:34:55 +0000 (16:34 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 15 Jun 2022 12:54:51 +0000 (14:54 +0200)
commit4bcaf69dca3552579d7ad9393e90d89969f1135c
tree597dcf30313fbb734a83e34c5414953c7e6e90b7
parent53eef46b88539a7fd1f2927dcf75025cb4bef40a
BUG/MINOR: qpack: support header litteral name decoding

Complete QPACK decoding with full implementation of litteral field name
with litteral value representation. This change is mandatory to support
decoding of headers name not present in the QPACK static table.
Previously, these headers were silently ignored and not transferred on
the backend request.

QPACK decoding should now be sufficient to deal with all real
situations. Only post-base indices representation are not handled but
this should not cause a problem as they are only used for the dynamic
table whose size is null as announced by the haproxy implementation.

The direct impact of this change is that it should now be possible to
use complex webapp through a QUIC frontend.

This must be backported up to 2.6.
src/qpack-dec.c