]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stats: do not call cli_release_handler 3 times
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 17:21:19 +0000 (19:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 19:16:02 +0000 (21:16 +0200)
commit68c00c71853de901eebca44d64623db4748dd532
tree530f9d841ebd23fd6897ceaead1ba9c694482e82
parenteca572fe7ffc1fcbb05056449f6e56f5c40b14ac
BUG/MINOR: stats: do not call cli_release_handler 3 times

If an error happens during a dump on the CLI, an explicit call to
cli_release_handler() is performed. This is not needed anymore since
we introduced ->release() in the applet which is called upon error.
Let's remove this confusing call which can even be risky in some
situations.
src/dumpstats.c