]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: htx: Don't reset flags when source must be preserved during transfer
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Jul 2026 08:59:57 +0000 (10:59 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Sep 2026 08:23:54 +0000 (10:23 +0200)
commit231c98565035e8dd3214398dfb51c707fb6dd803
tree13eec01806a47c1d2a60890d1501ab70f0ab6cb3
parent7e55f8643f3b152506169a783675df6d5d2aab6e
BUG/MEDIUM: htx: Don't reset flags when source must be preserved during transfer

When htx_xfer() is called with HTX_XFER_KEEP_SRC_BLKS flag, to preserve
blocks from the source HTX message, the source flags must not be reset at
the end of the transfer.

This bug can be triggered with L7-retries are configured with small
buffers. In that case, the HTX_FL_EOM flag is removed from the request
fowarded to the backend multiplexer.

This patch must be backported to 3.4.
src/htx.c