]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: delegate parsing of command line option -dM to a new function
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Feb 2022 17:54:40 +0000 (18:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 16:28:41 +0000 (17:28 +0100)
commit1408b1f8be4a467c736d222fdb5ecbf36cc3fca9
tree55a171e13148f82f5875334006e4b437d84e915d
parent18f96d02d38fc3d3f88785540d1c59de2d9a88bf
MINOR: pools: delegate parsing of command line option -dM to a new function

New function pool_parse_debugging() is now dedicated to parsing options
of -dM. For now it only handles the optional memory poisonning byte, but
the function may already return an informative message to be printed for
help, a warning or an error. This way we'll reuse it for the settings
that will be needed for configurable debugging options.
include/haproxy/pool.h
src/haproxy.c
src/pool.c