]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: trace: fix a typo causing an incorrect startup error
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Nov 2019 18:43:31 +0000 (19:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Nov 2019 18:47:22 +0000 (19:47 +0100)
commit2e7fdfc9a10590fe4cd1b20b8046d8250664f14a
tree76da92031c7ba93fbd650b3d9b04e965c932ebe3
parent1a3af7830202323c0ef306e4a3a57f21ac24a09b
BUG/MEDIUM: trace: fix a typo causing an incorrect startup error

Since commit 88ebd40 ("MINOR: trace: add allocation of buffer-sized
trace buffers") we have a trace buffer allocated at boot time. But
there was a copy-paste error there making the test verify that the
trash was allocated instead of the trace buffer. The result is that
depending on the link order either the test will succeed or fail,
preventing haproxy from starting at all.

No backport is needed.
src/trace.c