mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-20 22:01:49 -04:00
CLEANUUP: checks: don't set conn->handle.fd to -1
This used to be needed to know whether there was a check in progress a long time ago (before tcp_checks) but this is not true anymore and even becomes wrong after the check is reused as conn_init() initializes it to DEAD_FD_MAGIC.
This commit is contained in:
parent
46392fdd08
commit
3cad394520
1 changed files with 0 additions and 2 deletions
|
|
@ -2986,8 +2986,6 @@ const char *init_check(struct check *check, int type)
|
|||
return "out of memory while allocating check connection";
|
||||
}
|
||||
|
||||
check->conn->handle.fd = -1; /* no agent in progress yet */
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue