]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: don't call connect() on unsupported address families
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Mar 2013 19:07:44 +0000 (20:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Mar 2013 13:04:53 +0000 (14:04 +0100)
commit8f46ccad27c22864d0b8cf0165c3ca40b032265d
treec553df32dace3f1e3c2f82887c425de170b263c3
parentdf350f1f48ebdc073129f4851a05c51b7a1b2e8e
BUG/MEDIUM: checks: don't call connect() on unsupported address families

At the moment, all address families supported on a "server" statement support
a connect() method, but this will soon change with the generalization of
str2sa_range(). Checks currently call ->connect() unconditionally so let's
add a check for this.
src/checks.c