changed client_body_limit (now in KB)
+ multiples little adjusts
This commit is contained in:
@@ -22,7 +22,7 @@ void ConfigParser::_post_processing(std::vector<ServerConfig> *servers)
|
||||
throw std::invalid_argument("Config file needs an Index");
|
||||
|
||||
if (it->client_body_limit == 0)
|
||||
it->client_body_limit = 5000; // what is the recomended size?
|
||||
it->client_body_limit = 1 * MB;
|
||||
|
||||
|
||||
// if error_pages is left empty, we'll use the defaults which
|
||||
|
||||
Reference in New Issue
Block a user