From: wessels <> Date: Thu, 1 Jan 1998 05:13:20 +0000 (+0000) Subject: in comm_poll(), the code was #ifdef'd out which closed the sever X-Git-Tag: SQUID_3_0_PRE1~4314 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80a7ba7fed52bcbd5f69f41a501166dc006ad14b;p=thirdparty%2Fsquid.git in comm_poll(), the code was #ifdef'd out which closed the sever sockets upon shutdown. --- diff --git a/src/comm.cc b/src/comm.cc index cb7dddc81b..eba3aa9948 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -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++) {