[core] do not send SIGHUP to process group unless server.max-workers is used (fixes...
commit5cc061bfab42f3b81b12263b1e33355be1844fe7
authorGlenn Strauss <gstrauss@gluelogic.com>
Sun, 14 Feb 2016 10:44:30 +0000 (14 10:44 +0000)
committerStefan Bühler <stbuehler@web.de>
Sun, 14 Feb 2016 10:44:30 +0000 (14 10:44 +0000)
tree7a43f4ef8823352f0f45395617ca8091240fdc7e
parent3fd80ff8ec0196274eec4e0ef42718eee627cae5
[core] do not send SIGHUP to process group unless server.max-workers is used (fixes #2711)

do not propagate sighup if 0 == server.max-workers; reduce impact of
sighup on child processes, such as piped loggers, by not forwarding
sighup signal unless server.max-workers configured

For those configuring server.max-workers, it is recommended that
piped loggers be used to avoid log corruption, and then admins can
avoid sending lighttpd SIGHUP as there is currently no benefit to
doing so with the standard modules (beyond that of log rotation of
non-piped access and error logs).

From: Glenn Strauss <gstrauss@gluelogic.com>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3076 152afb58-edef-0310-8abb-c4023f1b3aa9
NEWS
src/server.c