mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
CLEANUP: tcpcheck: Remove useless test on the stream-connector in tcpcheck_main
Thanks to the recent refactoring, when tcpcheck_main() function is called, the stream-connector of the healthchek is always defined. There is no reason to still test it. This patch should fix the issue #1721.
This commit is contained in:
parent
464193793e
commit
560b8da258
1 changed files with 1 additions and 1 deletions
|
|
@ -2196,7 +2196,7 @@ int tcpcheck_main(struct check *check)
|
|||
check->current_step = rule;
|
||||
|
||||
/* We are still waiting the connection gets closed */
|
||||
if (sc && (check->state & CHK_ST_CLOSE_CONN)) {
|
||||
if (check->state & CHK_ST_CLOSE_CONN) {
|
||||
TRACE_DEVEL("wait previous connection closure", CHK_EV_TCPCHK_EVAL|CHK_EV_TCPCHK_CONN, check);
|
||||
eval_ret = TCPCHK_EVAL_WAIT;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue