refactor(CgiProcess): update TODO comment for pipe handling to improve clarity
This commit is contained in:
parent
e7e913a32d
commit
cd33bb1ce6
@ -32,7 +32,8 @@ void CgiProcess::spawn()
|
|||||||
auto cgiPath = uri.getCgiPath();
|
auto cgiPath = uri.getCgiPath();
|
||||||
|
|
||||||
// pipes
|
// pipes
|
||||||
|
// TODO pipe can handle flags O_CLOEXEC | O_NONBLOCK as open we should use this everywhere, then we dont need to set
|
||||||
|
// non blocking and the fd will be closed when exec is run
|
||||||
int pipeStdin[2];
|
int pipeStdin[2];
|
||||||
int pipeStdout[2];
|
int pipeStdout[2];
|
||||||
int pipeStderr[2];
|
int pipeStderr[2];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user