]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: compression: limit RAM usage
authorWilliam Lallemand <wlallemand@exceliance.fr>
Wed, 7 Nov 2012 15:12:57 +0000 (16:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Nov 2012 14:23:30 +0000 (15:23 +0100)
commit9d5f5480fdf4eac3c1440c377f1b75652a92bc25
tree413b8d5c762ae771e2904ca7650aba58e3a211c1
parent4c49fae9852089b7a2f861ccba5a0d6f7023e32a
MEDIUM: compression: limit RAM usage

With the global maxzlibmem option, you are able ton control the maximum
amount of RAM usable for HTTP compression.

A test is done before each zlib allocation, if the there isn't available
memory, the test fail and so the zlib initialization, so data won't be
compressed.
doc/configuration.txt
include/types/global.h
src/cfgparse.c
src/compression.c
src/haproxy.c