diff options
author | Grzegorz Nosek <root@localdomain.pl> | 2008-06-10 20:11:14 +0200 |
---|---|---|
committer | Grzegorz Nosek <root@localdomain.pl> | 2008-06-10 20:11:14 +0200 |
commit | 86f0d04e4877a07b3afe5da5a854333adda89bf7 (patch) | |
tree | b6d8afe1bb3b241abf85231ed07b929d7376d45f | |
parent | d1810bfcbf9fc7015e55b19b04e357a775d92f59 (diff) | |
download | fcgiwrap-86f0d04e4877a07b3afe5da5a854333adda89bf7.tar.xz fcgiwrap-86f0d04e4877a07b3afe5da5a854333adda89bf7.zip |
Restore default SIGCHLD handler (also SIGPIPE for completeness)
-rw-r--r-- | fcgiwrap.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |