]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: errors: implement user messages buffer
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 26 May 2021 09:05:22 +0000 (11:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 7 Jun 2021 14:58:16 +0000 (16:58 +0200)
commit1833e43c3eb8cb55a732587023d8e0b12e5b89cf
treed2915b3a0f597b87b0e37c13a6733edfe3daa3fb
parentc008a63582f960a31ab4f0e592c8b9e3e17ecb0f
MEDIUM: errors: implement user messages buffer

The user messages buffer is used to store the stderr output after the
starting is over. Each thread has it own user messages buffer. Add some
functions to add a new message, retrieve and clear the content.

The user messages buffer primary goal is to be consulted by CLI
handlers. Each handlers using it must clear the buffer before starting
its operation.
include/haproxy/errors.h
src/errors.c