]> git.kaiwu.me - haproxy.git/commit
MINOR: event_hdl/proxy: publish EVENT_HDL_SUB_PROXY_{ADD,DEL,PUB,UNPUB} events
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 6 Oct 2026 19:26:35 +0000 (21:26 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 12 Oct 2026 07:50:06 +0000 (09:50 +0200)
commite9d897a08b5dfaae6012eb087dcbb3601dbc1165
treef53df236d6f4568312dc884b63902e7efe449f48
parent54cf662634a266bf4ab4e28f093f47b3a39f1495
MINOR: event_hdl/proxy: publish EVENT_HDL_SUB_PROXY_{ADD,DEL,PUB,UNPUB} events

Proxy events are published in the per-proxy subscription list as well as
global one. EVENT_HDL_SUB_PROXY_ADD is published when proxy is created
(ie: "add backend"), EVENT_HDL_SUB_PROXY_DEL when backend is removed,
EVENT_HDL_SUB_PROXY_PUB when backend is published and
EVENT_HDL_SUB_PROXY_UNPUB when backend is unpublished.

All events provide event_hdl_cb_data_proxy struct, which contains info
about the proxy that triggered the event.
include/haproxy/proxy-t.h
src/proxy.c