]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: compression/htx: Don't add the last block of data if it is empty
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Dec 2018 14:10:25 +0000 (15:10 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Dec 2018 14:33:26 +0000 (15:33 +0100)
commitd238ae3a9b82b32bf7ca859555faf974f55042fa
tree1489172bc7e8fc91bcd41d68284be1b0690b946a
parentc963eb2a1d654abb9837ca32b5fd26fcb7ad99b7
BUG/MINOR: compression/htx: Don't add the last block of data if it is empty

In HTX, when the compression filter analyze the EOM, it flushes the compression
context and add the last block of compressed data. But, this block can be
empty. In this case, we must ignore it.
src/flt_http_comp.c