]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cache: Add "max-object-size" option.
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 22 Oct 2018 14:59:13 +0000 (16:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Oct 2018 02:40:03 +0000 (04:40 +0200)
commita2219f5e3be9f61cf0ba524b9d3ecd2994620462
treea275adbed4fda577db5281a2e9125b4a1aba15d5
parentb7838afe6f3afa565a30c35869431f169cf931c5
MINOR: cache: Add "max-object-size" option.

This patch adds "max-object-size" option to the cache to limit
the size in bytes of the HTTP objects to be cached. When not provided,
the maximum size of an HTTP object is a 256th of the cache size.
src/cache.c