BUG/MEDIUM: compression: Properly get the next block to iterate on payload
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 9 Jun 2021 15:04:37 +0000 (17:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 10 Jun 2021 06:57:55 +0000 (08:57 +0200)
commit402740c3ad9bc0d294d0c161e4904c06396a0791
tree42b72f7f2244d1ebe41563ef5d2cc92e7d4c97dd
parent86ca0e52f7fef2db55ee870d5740f715dac7c30d
BUG/MEDIUM: compression: Properly get the next block to iterate on payload

When a DATA block is compressed, or when the compression context is finished
on a TLR/EOT block, the next block used to loop on the HTX message must be
refreshed because a defragmentation may have occurred.

This bug was introduced when the EOM block was removed in 2.4. Thus, this
patch must be backported to 2.4.
src/flt_http_comp.c