]> git.kaiwu.me - 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 18:04:24 +0000 (19:04 +0100)
commitea3caccc0f62bd9a2a96bf205698e480e57f497b
tree9f05005c25f27e2aaf82249bd10feb843ba5afa0
parentdad07a861200d84f68c19de7e84f775b2a0e6cbb
[BUG] server check intervals must not be null

[cherry-picked from commit e38388033f3df181ff6a2ee227789cd743d17dc1]

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