]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: email-alert not working when declared in defaults
authorCyril Bonté <cyril.bonte@free.fr>
Fri, 4 Dec 2015 02:07:06 +0000 (03:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 4 Dec 2015 05:09:30 +0000 (06:09 +0100)
commit7e0847045a236e67f6a5bf83ae54971409892115
treeb22bfc8b64cf8d297dc7f75ad8023520ab6c80eb
parenta7bbdd955984f0d69812ff055cc145a338e76daa
BUG/MEDIUM: checks: email-alert not working when declared in defaults

Tommy Atkinson and Sylvain Faivre reported that email alerts didn't work when
they were declared in the defaults section. This is due to the use of an
internal attribute which is set once an email-alert is at least partially
configured. But this attribute was not propagated to the current proxy during
the configuration parsing.

Not that the issue doesn't occur if "email-alert myhostname" is configured in
the defaults section.

This fix must be backported to 1.6.
src/cfgparse.c