Changes to signal processing introduced by rev.14374 causse Squid to
ignore repeated signals.
However, repeated shutdown signals actually has meaning and need to abort
the shutdown delay timeout. So we need to allow those through to the
shutdown signal handler.
if (shutting_down) {
currentEvent = "shutdown";
avoiding = "canceling";
+ // do not avoid repeated shutdown signals
+ // which just means the user wants to skip/abort shutdown timeouts
+ if (strcmp(currentEvent, description) == 0)
+ return false;
signalVar = 0;
}
else if (!configured_once)