MINOR: build: allow packagers to specify the default maxzlibmem

This is done by passing the default value to DEFAULT_MAXZLIBMEM in megs.
This commit is contained in:
Willy Tarreau 2012-11-12 15:52:53 +01:00
parent 45b8893966
commit 96aa6b32d7

View File

@ -114,7 +114,11 @@ int relative_pid = 1; /* process id starting at 1 */
struct global global = {
.req_count = 0,
.logsrvs = LIST_HEAD_INIT(global.logsrvs),
#ifdef DEFAULT_MAXZLIBMEM
.maxzlibmem = DEFAULT_MAXZLIBMEM,
#else
.maxzlibmem = 0,
#endif
.comp_rate_lim = 0,
.unix_bind = {
.ux = {