default and custom error pages response

+ refactoring in response.cpp (functions split)
+ added Client::clear()
+ added replace_all_substr() in utils.cpp
This commit is contained in:
LuckyLaszlo
2022-08-04 02:52:31 +02:00
parent 6f5b28dd93
commit 0026106bf6
10 changed files with 176 additions and 68 deletions

View File

@@ -30,7 +30,7 @@ public:
// there can only be one.
std::string root;
int client_body_limit; // set to default max if none set
unsigned int client_body_limit; // set to default max if none set
// might be the only one we let slide if bad input...
bool autoindex;