]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcp-check: don't condition data polling on check type
authorWilly Tarreau <w@1wt.eu>
Mon, 8 Dec 2014 10:26:08 +0000 (11:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Dec 2014 10:28:18 +0000 (11:28 +0100)
commite7b9ed33ee7306c1f9fd276bb5e683befab06e82
tree26297ab5fc5790209698e643d668ea30e5cecdf4
parent9ede66b06d3b8dbf1c5c0d58bee42793b6bdac8d
BUG/MINOR: tcp-check: don't condition data polling on check type

tcp_check_main() would condition the polling for writes on check->type,
but this is absurd given that check->type == PR_O2_TCPCHK_CHK since this
is the only way we can get there! This patch removes this confusing test.
src/checks.c