[BUG] do not apply timeout.connect in checks if unset
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Feb 2008 10:34:10 +0000 (11:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 17 Feb 2008 10:34:10 +0000 (11:34 +0100)
commit6054819a70a442f6cc5ff563d432512096017da6
tree2f9347925b4dee16c4af22711d1af55b5c0dece8
parent6d0b1fac23517f16b3972b529ea41718b3643c9f
[BUG] do not apply timeout.connect in checks if unset

tv_bound() does not consider infinite timeouts, so we must
check that timeout.connect is set before applying it to the
checks.
src/checks.c