From: Amos Jeffries Date: Fri, 27 Mar 2009 22:34:55 +0000 (+1300) Subject: Fix: global flag is reconfiguring not restarting X-Git-Tag: SQUID_3_2_0_1~1095 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8869bcf1620702b88d4d11a3a40c97ecd10761f;p=thirdparty%2Fsquid.git Fix: global flag is reconfiguring not restarting --- diff --git a/src/comm.cc b/src/comm.cc index 30fde7b883..a793fab5cb 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1549,7 +1549,7 @@ _comm_close(int fd, char const *file, int line) return; /* XXX: is this obsolete behind F->closing() ? */ - if ( (shutting_down || restarting) && (!F->flags.open || F->type == FD_FILE)) + if ( (shutting_down || reconfiguring) && (!F->flags.open || F->type == FD_FILE)) return; /* The following fails because ipc.c is doing calls to pipe() to create sockets! */