From 86f0d04e4877a07b3afe5da5a854333adda89bf7 Mon Sep 17 00:00:00 2001 From: Grzegorz Nosek Date: Tue, 10 Jun 2008 20:11:14 +0200 Subject: Restore default SIGCHLD handler (also SIGPIPE for completeness) --- fcgiwrap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fcgiwrap.c b/fcgiwrap.c index 40fa156..81de53c 100644 --- a/fcgiwrap.c +++ b/fcgiwrap.c @@ -478,6 +478,8 @@ static void handle_fcgi_request() dup2(pipe_out[1], 1); dup2(pipe_err[1], 2); + signal(SIGCHLD, SIG_DFL); + signal(SIGPIPE, SIG_DFL); execl(filename, filename, NULL); puts("Status: 502 Bad Gateway\nContent-type: text/plain\n\n502"); exit(99); -- cgit v1.2.3