]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: compression: don't allocate DEFAULT_MAXZLIBMEM without USE_ZLIB
authorWilly Tarreau <w@1wt.eu>
Thu, 26 Nov 2015 15:34:56 +0000 (16:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Nov 2015 15:35:53 +0000 (16:35 +0100)
commited9dddd237a699f1eb961b80586ac8c76e9dd996
tree3ff5a7aa66650e7a055017edc2b0e44e0aae2866
parentf25b3573d65fd2411c7537b7b0a4817b478df909
CLEANUP: compression: don't allocate DEFAULT_MAXZLIBMEM without USE_ZLIB

It's pointless to reserve this amount of memory when zlib is not used.
Adding the condition will make build scripts easier to manage. This may
be backported to 1.6.
src/haproxy.c