From 4fe0fc86bfb13c1cbf22a5aab1418c74e16ef3c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 14 Aug 2021 11:56:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8signal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.c | 1 - 1 file changed, 1 deletion(-) diff --git a/server.c b/server.c index 8ef7d70..da66609 100644 --- a/server.c +++ b/server.c @@ -229,7 +229,6 @@ static void execute_cgi(int client, int content_length, const HTTP_REQUEST* requ else if(pid == 0) { char env[255]; - signal(SIGCHLD,SIG_IGN); dup2(cgi_output[1], 1); dup2(cgi_input[0], 0); close(cgi_output[0]);