commit | 0923fa42006ed25774f3df9bf7229d8c98cb0ef7 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Jan 11 18:43:04 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 14 11:15:11 2019 +0100 |
tree | 27fd29463854ffa9744ec340d87df2c445fdb653 | |
parent | c98aa1f18252f855cffe280153e60e496f532b6e [diff] |
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.