]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cache: does not cache if no Content-Length
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 8 Nov 2017 10:25:15 +0000 (11:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 11 Nov 2017 13:01:21 +0000 (14:01 +0100)
commit18f133adb3b48ce730ea1c53a934fb1a7123b8c9
tree01ed5a02965b9c0880587e0db9aac1d94b69c70d
parent34650d5a7b6e384ae02d095ff9e614b87203ace0
BUG/MEDIUM: cache: does not cache if no Content-Length

In the case of Transfer-Encoding: chunked, there is no Content-Length
which causes the cache to allocate a too small shctx row for the data.

It's not possible to allocate a shctx row for the chunks, we need to be
able to allocate on-the-fly the shctx blocks during the data transfer.
src/cache.c