]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: Reprocess peer state after all session shutdowns
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Apr 2024 14:38:13 +0000 (16:38 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Apr 2024 16:29:57 +0000 (18:29 +0200)
commit2a902e3188b0c8b489fff2c18a6134d385367374
tree7d2e80823b281ec94af0f8f98af39f8fb0e9c6d4
parent3541c5448118df710e8c5d00d8c7ad2a900c0cd3
BUG/MEDIUM: peers: Reprocess peer state after all session shutdowns

When a session is shut down, the peer is switched in released state
(PEER_F_ST_RELEASED) and the sync task must process it to eventually
perform some clean up, in case the peer was assigned to learn.

However, this was only true when the session was shut down from the peer
applet itself. This was not performed when it was shut down from the sync
task. It is now fixed.
src/peers.c