]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] try to guess server check port when unset
authorWilly Tarreau <w@1wt.eu>
Sun, 7 Jan 2007 01:40:09 +0000 (02:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Jan 2007 01:40:09 +0000 (02:40 +0100)
commitef00b500110c49a275e5ddfa622e646fd5cb7e41
treeab72c63e0f7199cb84f870da27734fd25e4bf96f
parent86efac84117cee609837016fd3c96042ad2fb4b8
[MINOR] try to guess server check port when unset

When a server has no port specified and there is a check
enabled on it, the check is disabled because the port is
unknown. However, people expect the "listen" line to set
the check port just like it sets the server's port. Now,
if a port is specified in the listen or in the first bind
and nowhere else, it will be used for the checks as well.
src/cfgparse.c