more script tests
+ add cgi checks for error in script output + fix script_path relative to absolute + cgi makefile more efficient
This commit is contained in:
@@ -129,10 +129,12 @@ class Webserv
|
||||
std::string _exec_script(Client *client, char *env[]);
|
||||
void _check_script_output(Client *client, std::string & output);
|
||||
void _check_script_status(Client *client, std::string & output);
|
||||
void _check_script_fields(Client *client, std::string & output);
|
||||
size_t _check_script_fields(const std::string & output, size_t status);
|
||||
void _check_fields_duplicates(Client *client, std::string & output);
|
||||
void _add_script_body_length_header(std::string & output);
|
||||
void _remove_body_leading_empty_lines(std::string & output);
|
||||
|
||||
|
||||
///////////////////////
|
||||
class ExecFail : public std::exception
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user