]> git.ipfire.org Git - thirdparty/squid.git/commit
Do not send signals from the master process to parent on shutdown.
authorDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Wed, 30 Mar 2011 20:50:00 +0000 (14:50 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 30 Mar 2011 20:50:00 +0000 (14:50 -0600)
commitbd9fe5b471063353dd89cbd70facb4db61c0c980
tree7d93a9c042a56e46e06eff905f7fdea344c964e8
parentca4b9ee6b684afffb9c4d96b28a166627eee7722
Do not send signals from the master process to parent on shutdown.

Trunk r11330 introduced a bug: When running in non-daemon mode, Squid
sends SIGUSR1 signal to the parent process on shutdown.  This results in
shell (at least zsh) exit when Squid is interrupted with C-c. The patch
adds a check to prevent the master process from killing it's parent on
shutdown.

Same check added for the kill-parent hack.
src/main.cc