mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-16 00:11:16 +01:00
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:
parent
c9f3b45d7a
commit
5a94037644
@ -121,7 +121,7 @@ struct global global = {
|
|||||||
.req_count = 0,
|
.req_count = 0,
|
||||||
.logsrvs = LIST_HEAD_INIT(global.logsrvs),
|
.logsrvs = LIST_HEAD_INIT(global.logsrvs),
|
||||||
#ifdef DEFAULT_MAXZLIBMEM
|
#ifdef DEFAULT_MAXZLIBMEM
|
||||||
.maxzlibmem = DEFAULT_MAXZLIBMEM,
|
.maxzlibmem = DEFAULT_MAXZLIBMEM * 1024U * 1024U,
|
||||||
#else
|
#else
|
||||||
.maxzlibmem = 0,
|
.maxzlibmem = 0,
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user