]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
shutting_down check for commSetTimeout should not be needed now
authorwessels <>
Sat, 25 Jul 1998 06:18:08 +0000 (06:18 +0000)
committerwessels <>
Sat, 25 Jul 1998 06:18:08 +0000 (06:18 +0000)
src/comm.cc

index 50cb9c6e6f3e28b54c06db946c3b5d34d109ca10..092bf864cad07d4ff7fbbc12e550b4dcbc3c5909 100644 (file)
@@ -1,7 +1,7 @@
 
 
 /*
- * $Id: comm.cc,v 1.279 1998/07/25 00:16:23 wessels Exp $
+ * $Id: comm.cc,v 1.280 1998/07/25 00:18:08 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -385,11 +385,6 @@ commSetTimeout(int fd, int timeout, PF * handler, void *data)
        F->timeout_data = NULL;
        return F->timeout = 0;
     }
-    if (shutting_down) {
-       /* don't increase the timeout if something pending */
-       if (F->timeout > 0 && (int) (F->timeout - squid_curtime) < timeout)
-           return F->timeout;
-    }
     assert(handler || F->timeout_handler);
     if (handler || data) {
        F->timeout_handler = handler;