]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mailers/hlua: disable email sending from lua
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 21 Apr 2023 15:32:46 +0000 (17:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 May 2023 14:28:32 +0000 (16:28 +0200)
commit5bed48fec8aa99ee6e1610ad99a3e57f7a8346f2
tree2dbcba6de61f0cd2e105a33638d88a597fd15009
parent0bd53b2152d7affeb82b934ef3505b02b59ebeec
MINOR: mailers/hlua: disable email sending from lua

Exposing a new hlua function, available from body or init contexts, that
forcefully disables the sending of email alerts even if the mailers are
defined in haproxy configuration.

This will help for sending email directly from lua.
(prevent legacy email sending from intefering with lua)
doc/lua-api/index.rst
include/haproxy/mailers.h
src/hlua.c
src/mailers.c