]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cli: fix "show stat resolvers" and "show tls-keys"
authorWilly Tarreau <w@1wt.eu>
Mon, 5 Dec 2016 13:50:15 +0000 (14:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 Dec 2016 13:53:37 +0000 (14:53 +0100)
commit3067bfa815afce9217c5f7cf0812e2575583a2fa
tree82ca31ba77ce6c0eabf5b70c89a13b73c36179e1
parenta1c35ab68d59f877b54dab7f296d3fdd6edff6e9
BUG/MEDIUM: cli: fix "show stat resolvers" and "show tls-keys"

The recent CLI reorganization managed to break these two commands
by having their parser return 1 (indicating an end of processing)
instead of 0 to indicate new calls to the io handler were needed.

Namely the faulty commits are :
  69e9644 ("REORG: cli: move show stat resolvers to dns.c")
  32af203 ("REORG: cli: move ssl CLI functions to ssl_sock.c")

The fix is trivial and there is no other loss of functionality. Thanks
to Dragan Dosen for reporting the issue and the faulty commits. The
backport is needed in 1.7.
src/dns.c
src/ssl_sock.c