Reenable child in/err pipes after fcgi con close
This commit is contained in:
parent
75eb03e210
commit
51ecc24ddb
@ -477,6 +477,8 @@ static void fcgi_cgi_reset_connection(fastcgi_connection *fcon) {
|
|||||||
fcgi_cgi_child_free(cld);
|
fcgi_cgi_child_free(cld);
|
||||||
} else {
|
} else {
|
||||||
fcgi_cgi_child_close_write(cld);
|
fcgi_cgi_child_close_write(cld);
|
||||||
|
if (-1 != cld->pipe_in) ev_io_start(cld->srv->loop, &cld->pipe_in_watcher);
|
||||||
|
if (-1 != cld->pipe_err) ev_io_start(cld->srv->loop, &cld->pipe_err_watcher);
|
||||||
cld->aborted_id = cld->srv->aborted_pending_childs->len;
|
cld->aborted_id = cld->srv->aborted_pending_childs->len;
|
||||||
g_ptr_array_add(cld->srv->aborted_pending_childs, cld);
|
g_ptr_array_add(cld->srv->aborted_pending_childs, cld);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user