]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cli: Ensure all command outputs end with a LF
authorAurélien Nephtali <aurelien.nephtali@corp.ovh.com>
Thu, 15 Mar 2018 20:48:50 +0000 (21:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Mar 2018 11:13:02 +0000 (12:13 +0100)
commit6e8a41d8fcb38a0d12efef3d6c521d23a8fa82f0
tree44267a049aba264d6a8a6d36d60160114ccd8a85
parent33e083c92e883963beed72ceaea8d12562a7a7ff
BUG/MINOR: cli: Ensure all command outputs end with a LF

Since 200b0fac ("MEDIUM: Add support for updating TLS ticket keys via
socket"), 4147b2ef ("MEDIUM: ssl: basic OCSP stapling support."),
4df59e9 ("MINOR: cli: add socket commands and config to prepend
informational messages with severity") and 654694e1 ("MEDIUM: stats/cli:
add support for "set table key" to enter values"), commands
'set ssl tls-key', 'set ssl ocsp-response', 'set severity-output' and
'set table' do not always send an extra LF at the end of their outputs.

This is required as mentioned in doc/management.txt:

"Since multiple commands may be issued at once, haproxy uses the empty
line as a delimiter to mark an end of output for each command"

Signed-off-by: Aurélien Nephtali <aurelien.nephtali@corp.ovh.com>
src/cli.c
src/ssl_sock.c
src/stick_table.c