]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Make the use of the check's server more explicit on connect
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 08:31:53 +0000 (10:31 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 08:31:54 +0000 (10:31 +0200)
commit931ae5b1034fb61d989e5365aa4ba97f74b8c865
tree2f7a8fe219b249cafbda37b8d39dd035c2a187d1
parentef3e69d4c4c1aa47a9df2e829312308bcccac2a7
MINOR: checks: Make the use of the check's server more explicit on connect

The variable s, pointing on the check server, may be null when a connection is
openned. It happens for email alerts. To avoid ambiguities, its use is now more
explicit. Comments have been added at some places and tests on the variable have
been added elsewhere (useless but explicit).

Partly fixes issue #600.
src/checks.c