]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
give at least 1 second to shutdown all the sockets
authorwessels <>
Tue, 28 Oct 1997 13:46:51 +0000 (13:46 +0000)
committerwessels <>
Tue, 28 Oct 1997 13:46:51 +0000 (13:46 +0000)
src/comm.cc

index 2ba04c1eb61c62ab4c8caab7bf13b5c13095da5b..417f2f32eda9561a65936001766395a010015281 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.199 1997/10/27 23:30:22 wessels Exp $
+ * $Id: comm.cc,v 1.200 1997/10/28 06:46:51 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -990,7 +990,7 @@ comm_select(time_t sec)
            if (shutdown_pending > 0 || reconfigure_pending > 0)
                setSocketShutdownLifetimes(Config.shutdownLifetime);
            else
-               setSocketShutdownLifetimes(0);
+               setSocketShutdownLifetimes(1);
        }
        nfds = 0;
        maxfd = Biggest_FD + 1;