]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] server check intervals must not be null
authorWilly Tarreau <w@1wt.eu>
Sat, 21 Mar 2009 17:58:32 +0000 (18:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 21 Mar 2009 17:58:32 +0000 (18:58 +0100)
commite38388033f3df181ff6a2ee227789cd743d17dc1
tree7944a5e4a4190e18304b8a5d4f1e1ffc193a1063
parentc7bdf09f9fd8374f23e8ab0fc61daf02c4ddcb9d
[BUG] server check intervals must not be null

If server check interval is null, we might end up looping in
process_srv_chk().

Prevent those values from being zero and add some control in
process_srv_chk() against infinite loops.
src/cfgparse.c
src/checks.c