commit | 9a88a8363a6b4b5734daff0dc9eebeb471c2d5fa | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Thu Nov 07 15:22:33 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 19 14:49:44 2019 +0100 |
tree | 84433abaecb4f2dda49bba76240a7ce6ab538c4c | |
parent | 5d072704e7fae702a9ef7e1e8912a8d0f9d6f22a [diff] |
MINOR: peers: Add debugging information to "show peers". This patch adds three counters to help in debugging peers protocol issues to "peer" struct: ->no_hbt counts the number of reconnection period without receiving heartbeat ->new_conn counts the number of reconnections after ->reconnect timeout expirations. ->proto_err counts the number of protocol errors. (cherry picked from commit ec1c10b8391b5d1b54de2e95f9c170c9016fe680) Signed-off-by: Willy Tarreau <w@1wt.eu>