BUG/MINOR: cli: forward the whole command on master CLI
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 29 Oct 2018 16:14:00 +0000 (17:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2018 16:23:27 +0000 (17:23 +0100)
commit744de5b52ad1ade82205b27aa9421f5ac88f84cf
treee8f06398a329bb67e6fe45e9d26b6daab64fc32e
parentce487aab46e72641b4fcc3b77c07c7a54c833368
BUG/MINOR: cli: forward the whole command on master CLI

A bug occurs when the CLI proxy of the master received a command which
is prefixed by some spaces but without a routing prefix (@).
In this case the pcli_parse_request() was returning a wrong number of
data to forward.

The response analyzer was called twice and the prompt displayed twice.
src/cli.c