BUG/MEDIUM: h3: Increase max number of headers when sending headers
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 Nov 2024 16:14:56 +0000 (17:14 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Nov 2024 14:47:03 +0000 (15:47 +0100)
commitbda4f9432266763f376d68eb8bf25e8018b621a9
tree7672f4583ce90c2afa3ec3cb00af82e586d51644
parent97f2c2e56eb8d22b8181253968733e9b80d6cbae
BUG/MEDIUM: h3: Increase max number of headers when sending headers

In the same way than for the H2, the maximum number of headers that can be
encoded when headers are sent must be increased to match the limit imposed
when they are received.

Reasons are the sames. On receive path, the maximum number of headers
accepted must be higher than the configured limit to be able to handle
pseudo headers and cookies headers. On the sending path, the same limit must
be applied because the pseudo headers will consume some extra slots and the
cookie header could be splitted.

This patch should be backported as far as 2.6.

(cherry picked from commit 3bd9a9e7d7a8d7869015eaf041b3ae7a0761c1d4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/h3.c