]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Clear any FD timeouts before making the commConnect callback.
authorwessels <>
Sat, 28 Mar 1998 02:42:22 +0000 (02:42 +0000)
committerwessels <>
Sat, 28 Mar 1998 02:42:22 +0000 (02:42 +0000)
src/comm.cc

index 9b0f9f914f90e7bd5276bf1dadb2b64bb68e09c3..9e0313011e8d1f985472729f9b35c504631ee12a 100644 (file)
@@ -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);