]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: rename DEBUG_GLITCHES to DEBUG_COUNTERS and enable it by default
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Apr 2025 15:32:10 +0000 (17:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Apr 2025 17:02:13 +0000 (19:02 +0200)
commit61d633a3ac821ee81bc2089b981508162be816ea
treed8838b089aa30ce2d1031c04949fee61f74b63e0
parenta8148c313a787b4df9b8ba379eaba2f417d9cf1e
DEBUG: rename DEBUG_GLITCHES to DEBUG_COUNTERS and enable it by default

Till now the per-line glitches counters were only enabled with the
confusingly named DEBUG_GLITCHES (which would not turn glitches off
when disabled). Let's instead change it to DEBUG_COUNTERS and make sure
it's enabled by default (though it can still be disabled with
-DDEBUG_GLITCHES=0 just like for DEBUG_STRICT). It will later be
expanded to cover more counters.
Makefile
doc/management.txt
include/haproxy/bug.h
include/haproxy/defaults.h
src/debug.c