commit | e3eea29f48d989b925320ee19445b9b6e9bec622 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Tue Apr 04 21:28:07 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri May 05 16:28:32 2023 +0200 |
tree | ca1c11dc2f5e9470502f2161bba59a42e019dcfd | |
parent | 306a5fc98724cb164ead712425c095c19c188274 [diff] |
MINOR: server/event_hdl: add SERVER_STATE event Adding a new SERVER event in the event_hdl API. SERVER_STATE is implemented as an advanced server event. It is published each time the server's effective state changes. (when s->cur_state changes) SERVER_STATE data is an event_hdl_cb_data_server_state struct that provides additional info related to the server state change, but can be casted as a regular event_hdl_cb_data_server struct if additional info is not needed.