mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 05:17:59 +03:00
minor changes
This commit is contained in:
@@ -179,7 +179,7 @@ void Request::splitData(char *data)
|
||||
return ;
|
||||
else if (!_body_ok)
|
||||
{
|
||||
_body += str.substr(0, _received - _headerSize);
|
||||
_body += str;
|
||||
if ((_received - _headerSize) == _contentLength)
|
||||
{
|
||||
_body_ok = true;
|
||||
|
||||
Reference in New Issue
Block a user