]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: relax access restrictions on "debug dev hash" and "memstats"
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Nov 2022 16:51:47 +0000 (17:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Nov 2022 16:58:00 +0000 (17:58 +0100)
commit111c78329e89965115f014b043a9695dc9a0bebd
tree36f20f0edc438c1ac2f4940c7349c61798f98962
parent50dd7e95c8c9c20994d2d6b64c3ab25177aa095e
MINOR: debug: relax access restrictions on "debug dev hash" and "memstats"

These two have absolutely zero impact on the process and do not need to
be restricted to the expert mode. The first one calculates a string hash
that can be used by anyone when checking a dump; the second one may be
used by anyone tracking a memory leak, and is cumbersome to use due to
the "expert-mode on" that needs to be prepended. In addition this gives
bad habits to users and needlessly taints the process. So let's drop
this restriction for these two commands.
src/debug.c