From 80a7ba7fed52bcbd5f69f41a501166dc006ad14b Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 1 Jan 1998 05:13:20 +0000 Subject: [PATCH] in comm_poll(), the code was #ifdef'd out which closed the sever sockets upon shutdown. --- src/comm.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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++) { -- 2.47.3