From: wessels <> Date: Sat, 25 Jul 1998 06:18:08 +0000 (+0000) Subject: shutting_down check for commSetTimeout should not be needed now X-Git-Tag: SQUID_3_0_PRE1~2979 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50b02908aa6b922e75672ebd97774330719784fd;p=thirdparty%2Fsquid.git shutting_down check for commSetTimeout should not be needed now --- diff --git a/src/comm.cc b/src/comm.cc index 50cb9c6e6f..092bf864ca 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,7 +1,7 @@ /* - * $Id: comm.cc,v 1.279 1998/07/25 00:16:23 wessels Exp $ + * $Id: comm.cc,v 1.280 1998/07/25 00:18:08 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -385,11 +385,6 @@ commSetTimeout(int fd, int timeout, PF * handler, void *data) F->timeout_data = NULL; return F->timeout = 0; } - if (shutting_down) { - /* don't increase the timeout if something pending */ - if (F->timeout > 0 && (int) (F->timeout - squid_curtime) < timeout) - return F->timeout; - } assert(handler || F->timeout_handler); if (handler || data) { F->timeout_handler = handler;