MINOR: checks: use conn_full_close() instead of conn_force_close()
There's no point in using conn_force_close() in the checks since they
do not use XPRT_TRACKED so both functions are equivalent.
diff --git a/src/checks.c b/src/checks.c
index b61f27a..e6cc42a 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -1383,7 +1383,7 @@
* sure want to abort the hard way.
*/
conn_sock_drain(conn);
- conn_force_close(conn);
+ conn_full_close(conn);
ret = -1;
}
@@ -2164,7 +2164,7 @@
* server state to be suddenly changed.
*/
conn_sock_drain(conn);
- conn_force_close(conn);
+ conn_full_close(conn);
}
if (conn) {
@@ -2640,7 +2640,7 @@
* 3: release and replace the old one on success
*/
if (check->conn) {
- conn_force_close(check->conn);
+ conn_full_close(check->conn);
retcode = -1; /* do not reuse the fd! */
}