commit | 3585cab22174baea6367526e79585f6115c8b3d5 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Wed Nov 20 11:17:30 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 20 13:38:13 2019 +0100 |
tree | e3e04a700f09a1075a90fbb79d04fa4216e6a737 | |
parent | 677e2f2c35444f4eda93c363946ba473ddc16a88 [diff] |
BUG/MINOR: peers: "peer alive" flag not reset when deconnecting. The peer flags (->flags member of peer struct) are reset by __peer_session_deinit() function. PEER_F_ALIVE flag which is used by the heartbeat part of the peer protocol to mark a peer as being alive was not reset by this function. This simple patch adds add the statement to this. Note that, at this time, there was no identified issue due to this missing reset. Must be backported to 2.0.