commit | 9d5f5480fdf4eac3c1440c377f1b75652a92bc25 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@exceliance.fr> | Wed Nov 07 16:12:57 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 08 15:23:30 2012 +0100 |
tree | 413b8d5c762ae771e2904ca7650aba58e3a211c1 | |
parent | 4c49fae9852089b7a2f861ccba5a0d6f7023e32a [diff] |
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.