diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2008-06-10 20:11:14 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2008-06-10 20:11:14 +0200 |
| commit | 96fda5aab86d15f941c1386379aae4718c2c5131 (patch) | |
| tree | b6d8afe1bb3b241abf85231ed07b929d7376d45f /fcgiwrap.c | |
| parent | ceaa9e419419615294cced12954fddcb66704ca6 (diff) | |
Restore default SIGCHLD handler (also SIGPIPE for completeness)
Diffstat (limited to 'fcgiwrap.c')
| -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); |
