Handle requests after the first one (fixing keep-alive)

This commit is contained in:
Stefan Bühler 2013-05-18 17:52:11 +02:00
parent b28eed137e
commit 805e25cff6
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ static void fcgi_cgi_child_check_done(fcgi_cgi_child *cld) {
} else {
if (cld->pid == -1 && cld->pipe_out == -1 && cld->pipe_in == -1 && cld->pipe_err == -1) {
fastcgi_end_request(cld->fcon, cld->child_status, FCGI_REQUEST_COMPLETE);
fcgi_cgi_child_free(cld);
}
}
}