refactor(CgiProcess): update TODO comment for pipe handling to improve clarity

This commit is contained in:
whaffman 2025-10-21 23:47:21 +02:00
parent e7e913a32d
commit cd33bb1ce6

View File

@ -32,7 +32,8 @@ void CgiProcess::spawn()
auto cgiPath = uri.getCgiPath();
// 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 pipeStdout[2];
int pipeStderr[2];