summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fcgiwrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fcgiwrap.c b/fcgiwrap.c
index d128e12..b865295 100644
--- a/fcgiwrap.c
+++ b/fcgiwrap.c
@@ -531,6 +531,8 @@ static void handle_fcgi_request(void)
close(pipe_out[1]);
close(pipe_err[1]);
+ close(FCGI_fileno(FCGI_stdout));
+
signal(SIGCHLD, SIG_DFL);
signal(SIGPIPE, SIG_DFL);