]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: logs: Realloc log buffers only after the config is parsed and checked
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 29 Aug 2017 14:54:41 +0000 (16:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Sep 2017 08:32:38 +0000 (10:32 +0200)
commit084aa9615b827d67b82df3d61fa3112fa588c786
tree118459b75cf2dfb0d241aea604a95b1060e6c1e7
parent0132d06f6880ca016f62ce418786d7d2bcb44d2b
MINOR: logs: Realloc log buffers only after the config is parsed and checked

During the configuration parsing, log buffers are reallocated when
global.max_syslog_len is updated. This can be done serveral time. So, instead of
doing it serveral time, we do it only once after the configuration parsing.
src/cfgparse.c
src/haproxy.c