MINOR: peers: Add traces for peer control messages.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 15 Jan 2021 15:21:28 +0000 (16:21 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 26 Jan 2021 09:07:06 +0000 (10:07 +0100)
commit1cc0d9a9733d2eee9599e9b1ea346e911ac1b337
tree28111caf992c622e7b35917171b8d9a384930745
parent64e563351414f6bdcc9e9f8bc41a13c496ff8ecc
MINOR: peers: Add traces for peer control messages.

Display traces when sending/receiving peer control messages (synchronisation, heartbeat).
Add remaining traces when parsing malformed messages (acks, stick-table definitions)
or ignoring them.
Also add traces when releasing session or when reaching the PEER_SESS_ST_ERRPROTO
peer protocol state.

(cherry picked from commit da2b0844fc4eafd9c63e3eb20a1a7020d9f92088)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/peers.c