]> git.kaiwu.me - haproxy.git/commit
MEDIUM: server: disable protocol validations when the server doesn't resolve
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Jan 2017 17:42:57 +0000 (18:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Jan 2017 18:29:34 +0000 (19:29 +0100)
commit9698f4b295a5429a5341bfe633a6eb8d386f6182
tree40e94c19a038a2511a748e39c95f2514a248ef53
parent6ecb10aec7c12ddf8bf1813ec983bd6f2ed4c2df
MEDIUM: server: disable protocol validations when the server doesn't resolve

When a server doesn't resolve we don't know the address family so we
can't perform the basic protocol validations. However we know that we'll
ultimately resolve to AF_INET4 or AF_INET6 so the controls are OK. It is
important to proceed like this otherwise it will not be possible to start
with unresolved addresses.
src/server.c