mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02: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,
|
||||
.logsrvs = LIST_HEAD_INIT(global.logsrvs),
|
||||
#ifdef DEFAULT_MAXZLIBMEM
|
||||
.maxzlibmem = DEFAULT_MAXZLIBMEM,
|
||||
.maxzlibmem = DEFAULT_MAXZLIBMEM * 1024U * 1024U,
|
||||
#else
|
||||
.maxzlibmem = 0,
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user