]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: h1_htx: Remove reverved block on error during contig chunks parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2026 13:05:57 +0000 (15:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2026 16:36:34 +0000 (18:36 +0200)
commit4af4feed331fa40ee0fdee063296ceff6e563125
tree54c1d564b7b95a51b3880d1d7257d5ef90edc8c7
parent9095785203b89f2a525eac25b20d137bbba63729
BUG/MEDIUM: h1_htx: Remove reverved block on error during contig chunks parsing

In h1_parse_full_contig_chunks(), we first try to reserve the bigger HTX
DATA block as possible. It is ajusted at the end of chunks parsing or
removed if no data was copied. However, it should also be removed when a
parsing error is triggered. It could be an issue for http health checks and
haterm to properly handle errors.

This patch should be backported as far as 2.6.
src/h1_htx.c