]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] checks: report it if checks fail due to socket creation error
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Mar 2011 19:38:33 +0000 (20:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 13 Mar 2011 21:12:54 +0000 (22:12 +0100)
commitd11ad78c26d1d15202660da12f61438798805789
tree116e5537d2fb1a2b724eacf8d07102e4ad247f7a
parent6da0f6d6dd54173165d813874f44501081962e7c
[MINOR] checks: report it if checks fail due to socket creation error

If the check fails for a low-level socket error (eg: address family not
supportd), we currently ignore the status. We must report the error and
declare a failed health check in this case. The only real reason for this
would be when an IPv6 check is required on an IPv4-only system.
src/checks.c