]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: flt-http-comp: Rely on htx_set_eom() to restore EOM flag
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Sep 2026 12:45:13 +0000 (14:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Sep 2026 08:24:01 +0000 (10:24 +0200)
commit8f6bf96f992ad746d65600ecf6f60f08a122b3c9
tree2e64675988b82bd51f2378a5961aa837fe37680c
parent231c98565035e8dd3214398dfb51c707fb6dd803
BUG/MINOR: flt-http-comp: Rely on htx_set_eom() to restore EOM flag

A theoritical bug was introduced by the commit 30890fd90 ("BUG/MEDIUM:
flt-http-comp: Block HTX_FL_EOM flag till the end of compression"). On the
normal case, the HTX_FL_EOM flag was restored without checking if the HTX
message was empty or not. It could be an issue. Instead, htx_set_eom()
function must be used.

This patch must be backported with the commit above.
src/flt_http_comp.c