commit | acde15217550f6db198b0119e743222b40ce5245 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 07 16:31:39 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 09 18:29:04 2020 +0200 |
tree | 6fd21adc38fdbfc6a5db3bffb52d1a8b23a015c2 | |
parent | a389c9e1e39cbdb88eb06206fb1daf39798ac5d5 [diff] |
MEDIUM: proxy: centralize proxy status update and reporting There are multiple ways a proxy may switch to the disabled state, but now it's essentially once it loses its last listener. Instead of keeping duplicate code around and reporting the state change before actually seeing it, we now report it at the moment it's performed (from the last listener leaving) which allows to remove the message from all other places.