From: wessels <> Date: Tue, 28 Oct 1997 13:46:51 +0000 (+0000) Subject: give at least 1 second to shutdown all the sockets X-Git-Tag: SQUID_3_0_PRE1~4659 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ed6e11eaa5f9d3c2f42ab4170ecefb8ee8aa7c6;p=thirdparty%2Fsquid.git give at least 1 second to shutdown all the sockets --- diff --git a/src/comm.cc b/src/comm.cc index 2ba04c1eb6..417f2f32ed 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -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;