]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] print usage on the stats sockets upon invalid commands
authorWilly Tarreau <w@1wt.eu>
Sun, 26 Jul 2009 16:16:43 +0000 (18:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 26 Jul 2009 16:18:59 +0000 (18:18 +0200)
commit90a6c0f1ac19cd6c1dd86380ca79336e9d10ab98
tree01e1caa9f059138c964bdcc4bf0be4bdcbf3ace0
parentb98fd681793db08df3217163554c15cbacec216e
[MINOR] print usage on the stats sockets upon invalid commands

When issuing commands on the unix socket, there's no way to
know if the result is empty or if the command is wrong. This
patch makes invalid command return a help message.
(cherry picked from commit 43e0e3997870e39b78b87d3050f260571e5a7de9)
src/proto_uxst.c