]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix: global flag is reconfiguring not restarting
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 27 Mar 2009 22:34:55 +0000 (11:34 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 27 Mar 2009 22:34:55 +0000 (11:34 +1300)
src/comm.cc

index 30fde7b883466dfec9c78dd3dc716bc1d8e94a20..a793fab5cb268f58684024c2dc0ea116f8ecaf2f 100644 (file)
@@ -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! */