]> 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, 24 Jul 2026 09:58:24 +0000 (11:58 +0200)
commit04a39f5518e256d20e44e5abe0f8e8d3a7e573bf
tree135c2da36436bc4a3cb0bb46d1d66b824a4a2b2f
parent80520e52dd445f9fdffd6956e59d52ac9ca74386
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