Debug in progress, somes fix but not the main problem

This commit is contained in:
lperrey
2022-08-18 06:03:09 +02:00
parent a008c12058
commit 3d17db996a
13 changed files with 136 additions and 117 deletions

View File

@@ -45,8 +45,8 @@ enum cgi_states
CGI_NO_CGI = 0,
CGI_WAIT_TO_EXEC,
CGI_READY_TO_EXEC,
CGI_WAIT_FOR_OUTPUT,
CGI_OUTPUT_READY
CGI_OUTPUT_READING,
CGI_OUTPUT_COMPLETE
};
class Client
@@ -69,7 +69,7 @@ class Client
const LocationConfig *assigned_location;
// CGI variables
int cgi_state;
cgi_states cgi_state;
int cgi_pipe_w_to_child;
int cgi_pipe_r_from_child;
int cgi_pipe_w_to_parent;