]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
in comm_poll(), the code was #ifdef'd out which closed the sever
authorwessels <>
Thu, 1 Jan 1998 05:13:20 +0000 (05:13 +0000)
committerwessels <>
Thu, 1 Jan 1998 05:13:20 +0000 (05:13 +0000)
sockets upon shutdown.

src/comm.cc

index cb7dddc81b3c917d601864d2922b54b134fe8d35..eba3aa99486e281ecee253b023a7b0335b864753 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.215 1997/12/31 05:01:46 wessels Exp $
+ * $Id: comm.cc,v 1.216 1997/12/31 22:13:20 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -846,8 +846,7 @@ comm_poll(time_t sec)
 #if !ALARM_UPDATES_TIME
        getCurrentTime();
 #endif
-#if 0
-       if (shutdown_pending || reconfigure_pending) {
+       if (shutdown_pending) {
            serverConnectionsClose();
            dnsShutdownServers();
            redirectShutdownServers();
@@ -860,7 +859,6 @@ comm_poll(time_t sec)
            else
                setSocketShutdownLifetimes(1);
        }
-#endif
        nfds = 0;
        maxfd = Biggest_FD + 1;
        for (i = 0; i < maxfd; i++) {