]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: checks: simplify the loop processing of tcp-checks
authorWilly Tarreau <w@1wt.eu>
Wed, 13 May 2015 09:59:14 +0000 (11:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 May 2015 10:30:46 +0000 (12:30 +0200)
commit263013d031d754c9f96de0d0cb5afcc011af6441
tree324ce08336810224297c75db0ec21e0ef3e516a3
parent53c5a049e1f4dbf67412472e23690dc6b3c8d0f8
CLEANUP: checks: simplify the loop processing of tcp-checks

There is some unobvious redundancy between the various ways we can leave
the loop. Some of them can be factored out. So now we leave the loop when
we can't go further, whether it's caused by reaching the end of the rules
or by a blocking I/O.
src/checks.c