changed client_body_limit (now in KB)

+ multiples little adjusts
This commit is contained in:
lperrey
2022-08-15 02:14:27 +02:00
parent 9ac84f706d
commit a284e400c1
12 changed files with 48 additions and 127 deletions

View File

@@ -39,7 +39,7 @@ void Webserv::_get(Client *client, std::string &path)
_get_file(client, path);
}
# define MAX_FILESIZE 1000000 // (1Mo)
# define MAX_FILESIZE 1 * MB
void Webserv::_get_file(Client *client, const std::string &path)
{
/*