]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: cli: move the "set rate-limit" functions to their own parser
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 13:51:17 +0000 (14:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 15:59:28 +0000 (16:59 +0100)
commit45c742be05232dc115f80c24ac169f080bbfaa12
tree2cf40f76c7d2cbcf582579938154637bca6adf8b
parent58d9cb7d22c1b0d8239543443131e3e3658375d0
REORG: cli: move the "set rate-limit" functions to their own parser

All 4 rate-limit settings were handled at once given that exactly the
same checks are performed on them. In case of missing or incorrect
argument, the detailed supported options are printed with their use
case.

This was the last specific entry in the CLI parser, some additional
cleanup may still be done.
src/cli.c