]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: htx: Properly handle block modification during defragmentation
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Apr 2026 17:07:08 +0000 (19:07 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 14 Apr 2026 12:07:21 +0000 (14:07 +0200)
commitd899f230174d768dce0b482d7cfd6522d79c8634
tree9ac57926834fe973feec5c8c2463eb4915cc0a4c
parentebaa88a23a9c3fe93d9a102fa1df603efd1e9ffe
BUG/MEDIUM: htx: Properly handle block modification during defragmentation

A regression was introcuded by the commit 0c6f2207f ("MEDIUM: htx: Refactor
htx defragmentation to merge data blocks").

When a defragmentation is performed, it is possible to alter a block
size. The main usage is to prepare a block value replacement. However, since
the commit above, the change is no longer handled. The block info are
changed but the size of the message is not modified accordingly.

This patch depends on the commit "MINOR: htx: Add helper function to get
type and size from the block info field"

No backport needed.
src/htx.c