]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: flt_trace/htx: Only apply the random forwarding on the message body.
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 4 Jun 2019 20:09:53 +0000 (22:09 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Jun 2019 08:12:11 +0000 (10:12 +0200)
commit0bdeeaacbbd2341a49af1b1d193a8b714e66cb69
tree1b942cdae6804f484e19f2d595fffbc6fe5d302f
parentc31872fc04730696e9c686e8a6a50933344a8c10
BUG/MINOR: flt_trace/htx: Only apply the random forwarding on the message body.

In the function trace_http_payload(), when the random forwarding is enabled,
only blocks of type HTX_BLK_DATA must be considered. Because other blocks must
be forwarding in one time.

This patch must be backported to 1.9. But it will have to be adapted. Because
several changes on the HTX in the 2.0 are missing in the 1.9.
src/flt_trace.c