]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: Avoid having an associated server for email checks.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 11 Jan 2019 17:43:04 +0000 (18:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jan 2019 10:15:11 +0000 (11:15 +0100)
commit0923fa42006ed25774f3df9bf7229d8c98cb0ef7
tree27fd29463854ffa9744ec340d87df2c445fdb653
parentc98aa1f18252f855cffe280153e60e496f532b6e
BUG/MEDIUM: checks: Avoid having an associated server for email checks.

When using a check to send email, avoid having an associated server, so that
we don't modify the server state if we fail to send an email.
Also revert back to initialize the check status to HCHK_STATUS_INI, now that
set_server_check_status() stops early if there's no server, we shouldn't
get in a mail loop anymore.

This should be backported to 1.9.
src/checks.c