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.
diff --git a/src/checks.c b/src/checks.c
index c274600..539d5cc 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -2986,8 +2986,6 @@
return "out of memory while allocating check connection";
}
- check->conn->handle.fd = -1; /* no agent in progress yet */
-
return NULL;
}