commit | a163d652540e7d7d2dc51cb614f72a3c67d13022 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Fri Apr 21 18:06:58 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri May 05 16:28:32 2023 +0200 |
tree | ed470ad6c4d3c91928e892cc3e7e3b31f49d5aaa | |
parent | c99f3adf10df63cf8bb92b63a0aaa076d3f976a6 [diff] |
MINOR: server/event_hdl: add SERVER_ADMIN event Adding a new SERVER event in the event_hdl API. SERVER_ADMIN is implemented as an advanced server event. It is published each time the administrative state changes. (when s->cur_admin changes) SERVER_ADMIN data is an event_hdl_cb_data_server_admin struct that provides additional info related to the admin state change, but can be casted as a regular event_hdl_cb_data_server struct if additional info is not needed.