Fixed big problem with CGI handling
+ remains somes minors problems
This commit is contained in:
@@ -13,6 +13,7 @@ Client::Client()
|
||||
assigned_server(NULL),
|
||||
assigned_location(NULL),
|
||||
cgi_pipe_rfd(0),
|
||||
cgi_pid(0),
|
||||
_fd(0),
|
||||
_port(""),
|
||||
_ip(""),
|
||||
@@ -29,6 +30,7 @@ Client::Client(int afd, listen_socket *lsocket, std::string aport, std::string a
|
||||
assigned_server(NULL),
|
||||
assigned_location(NULL),
|
||||
cgi_pipe_rfd(0),
|
||||
cgi_pid(0),
|
||||
_fd(afd),
|
||||
_port(aport),
|
||||
_ip(aip),
|
||||
@@ -240,6 +242,7 @@ void Client::clear()
|
||||
assigned_server = NULL;
|
||||
assigned_location = NULL;
|
||||
cgi_pipe_rfd = 0;
|
||||
cgi_pid = 0;
|
||||
cgi_output.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user