Browse Source

[core] fix lighttpd -1 one-shot graceful shutdown

fix lighttpd -1 graceful shutdown (one-shot mode)
(regression in lighttpd 1.4.46)
personal/stbuehler/1.4.48-mod-proxy-fix
Glenn Strauss 4 years ago
parent
commit
0e84df8180
  1. 2
      src/server.c

2
src/server.c

@ -1342,7 +1342,7 @@ static int server_main (server * const srv, int argc, char **argv) {
}
#endif
graceful_restart = 0;/*(reset here after avoiding further daemonizing)*/
graceful_shutdown= 0;
if (0 == oneshot_fd) graceful_shutdown = 0;
#ifdef HAVE_SIGACTION

Loading…
Cancel
Save