1
0
mirror of https://github.com/fumiama/simple-http-server.git synced 2026-06-05 00:30:23 +08:00

删除无用signal

This commit is contained in:
源文雨
2021-08-14 11:56:51 +08:00
parent ef7d67b21e
commit 4fe0fc86bf

View File

@@ -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]);