mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue