From e1b16349cb4c1b888c0b8526a16d38e95a523b0e Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sat, 28 Mar 1998 02:42:22 +0000 Subject: [PATCH] Clear any FD timeouts before making the commConnect callback. --- src/comm.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/comm.cc b/src/comm.cc index 9b0f9f914f..9e0313011e 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.237 1998/03/25 05:30:54 wessels Exp $ + * $Id: comm.cc,v 1.238 1998/03/27 19:42:22 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -357,6 +357,7 @@ commConnectCallback(ConnectStateData * cs, int status) comm_remove_close_handler(fd, commConnectFree, cs); cs->callback = NULL; cs->data = NULL; + commSetTimeout(fd, -1, NULL, NULL); commConnectFree(fd, cs); if (cbdataValid(data)) callback(fd, status, data); -- 2.47.3