]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: htx: Return the good block address after a defrag
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Jan 2019 10:23:44 +0000 (11:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Jan 2019 19:14:31 +0000 (20:14 +0100)
commit200f895cca6446f7eb8cb3901867d7f089c090fc
tree835b44ded5231c0c9308e16664aaabf1392d8d60
parent6112391f811a2c54091dd146cf02fcbb8bf195ba
BUG/MAJOR: htx: Return the good block address after a defrag

When an HTX structure is defragmented, it is possible to retrieve the new block
corresponding to an old one. This is useful to do a defrag during a loop on
blocks, to be sure to continue looping on the good block. But, instead of
returning the address of the new block in the HTX structure, the one in the
temporary structure used to do the defrag was returned, leading to unexpected
behaviours.

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