BUG/MEDIUM: comp: DEFAULT_MAXZLIBMEM was expressed in bytes and not megabytes

The value is stored in bytes but was not multiplied. It would only affect
packagers.
This commit is contained in:
Willy Tarreau 2012-12-03 12:10:45 +01:00
parent c9f3b45d7a
commit 5a94037644

View File

@ -121,7 +121,7 @@ struct global global = {
.req_count = 0,
.logsrvs = LIST_HEAD_INIT(global.logsrvs),
#ifdef DEFAULT_MAXZLIBMEM
.maxzlibmem = DEFAULT_MAXZLIBMEM,
.maxzlibmem = DEFAULT_MAXZLIBMEM * 1024U * 1024U,
#else
.maxzlibmem = 0,
#endif