]> git.kaiwu.me - haproxy.git/commit
MINOR: acme: publish ACME_NEWCERT event via event_hdl
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 11 Jun 2026 13:47:42 +0000 (15:47 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 11 Jun 2026 17:14:52 +0000 (19:14 +0200)
commit81d7624e018dae1c8762f2c023583ab0c7a11edb
treecd224b700eef2b1293f5e3cdbd293fb8e63507da
parent960fa1c92146a9acb0899fff89397413890b5e57
MINOR: acme: publish ACME_NEWCERT event via event_hdl

Add a new EVENT_HDL_SUB_ACME_NEWCERT event type in the ACME family.
It is published after a new certificate has been successfully fetched
and installed. The event carries the certificate store name, allowing
subscribers to act on newly available certificates.

Lua subscribers using core.event_sub() receive the event data as an
AcmeEvent object with a crtname field containing the certificate store
name.
doc/lua-api/index.rst
include/haproxy/acme-t.h
include/haproxy/acme.h
include/haproxy/event_hdl-t.h
src/acme.c
src/event_hdl.c
src/hlua.c