mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 11:40:50 +00:00
223770ddca
Now that event_hdl api is properly implemented in hlua, we may add the per-server event subscription in addition to the global event subscription. Per-server subscription allows to be notified for events related to single server. It is useful to track a server UP/DOWN and DEL events. It works exactly like core.event_sub() except that the subscription will be performed within the server dedicated subscription list instead of the global one. The callback function will only be called for server events affecting the server from which the subscription was performed. Regarding the implementation, it is pretty trivial at this point, we add more doc than code this time. Usage examples have been added to the (lua) documentation. |
||
---|---|---|
.. | ||
_static | ||
conf.py | ||
index.rst | ||
Makefile |