]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache/htx: Be sure to count partial trailers
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Jan 2019 15:15:34 +0000 (16:15 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Jan 2019 15:23:03 +0000 (16:23 +0100)
commit74b41ba025c66bf4d4d2a5dfa320ea8376acb36e
tree3a2086daf49480f6fb0c0478f1c3102c8ec43128
parent68b1bbd767c1d863bbbe98e6255a2511fe99e3aa
BUG/MINOR: cache/htx: Be sure to count partial trailers

When a chunked object is served from the cache, If the trailers are not pushed
in the channel's buffer in one time, we still have to count them in the total
written bytes in the buffer.

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