]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: Allocate the log buffers before the proxies startup
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 14 Nov 2017 21:02:30 +0000 (22:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Nov 2017 10:19:46 +0000 (11:19 +0100)
commit96d4483df75458614339879e359b72169fa6b760
treea22369fa192e80992a7413f2988acd8edae66a29
parent51606feaf2a303a4d9f20c0f4fc33cbd3834255e
BUG/MINOR: Allocate the log buffers before the proxies startup

Since the commit cd7879adc ("BUG/MEDIUM: threads: Run the poll loop on the main
thread too"), the log buffers are allocated after the proxies startup. So log
messages produced during this startup was ignored.

To fix the bug, we restore the initialization of these buffers before proxies
startup.

This is specific to threads, no backport is needed.
src/haproxy.c