[mod_cgi] remove redundant calls to set FD_CLOEXEC

This commit is contained in:
Glenn Strauss 2020-02-25 23:57:30 -05:00
parent 95b2774863
commit e6c47d6ecf
1 changed files with 0 additions and 2 deletions

View File

@ -768,8 +768,6 @@ static int cgi_create_env(request_st * const r, plugin_data * const p, handler_c
log_perror(r->conf.errh, __FILE__, __LINE__, "pipe failed");
return -1;
}
fdevent_setfd_cloexec(to_cgi_fds[1]);
fdevent_setfd_cloexec(from_cgi_fds[0]);
{
size_t i = 0;