]> git.kaiwu.me - haproxy.git/commit
MEDIUM: debug: make the complain() function print the suffix
authorWilly Tarreau <w@1wt.eu>
Mon, 10 Aug 2026 16:44:41 +0000 (18:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Aug 2026 15:43:30 +0000 (17:43 +0200)
commit7270e706403861c658993bf8b87acaf5927f65d9
treec83ee7b8ebd61cf84c416fe8a9d53e19dfcfc943
parent85c897f30675e63b399e87149bee9761f42bb365
MEDIUM: debug: make the complain() function print the suffix

The suffix, such as "please contact the developer" that is printed on
each warning, with its optional variant "not crashing ..." can be entirely
computed by complain() based on the flags description. This way we can drop
that from the macros and further shrink the messages.

The code size reduced by 6.5 kB.
include/haproxy/bug.h
src/debug.c