commit | a37b244509f48a534bd6812298f9b7fff48833dc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 24 07:23:45 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 09 11:27:30 2020 +0200 |
tree | 479f70982db3cb18341f83eeb227361b5dac4cf4 | |
parent | bec7ab0ad9e00ac2f796d5d265cb692cab0c7e8f [diff] |
MINOR: listeners: introduce listener_set_state() This function is used as a wrapper to set a listener's state everywhere. We'll use it later to maintain some counters in a consistent state when switching state so it's capital that all state changes go through it. No functional change was made beyond calling the wrapper.