mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
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:
parent
45b8893966
commit
96aa6b32d7
@ -114,7 +114,11 @@ int relative_pid = 1; /* process id starting at 1 */
|
|||||||
struct global global = {
|
struct global global = {
|
||||||
.req_count = 0,
|
.req_count = 0,
|
||||||
.logsrvs = LIST_HEAD_INIT(global.logsrvs),
|
.logsrvs = LIST_HEAD_INIT(global.logsrvs),
|
||||||
|
#ifdef DEFAULT_MAXZLIBMEM
|
||||||
|
.maxzlibmem = DEFAULT_MAXZLIBMEM,
|
||||||
|
#else
|
||||||
.maxzlibmem = 0,
|
.maxzlibmem = 0,
|
||||||
|
#endif
|
||||||
.comp_rate_lim = 0,
|
.comp_rate_lim = 0,
|
||||||
.unix_bind = {
|
.unix_bind = {
|
||||||
.ux = {
|
.ux = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user