wip parsing first line http message with new utils functions

This commit is contained in:
hugogogo
2022-08-10 20:27:48 +02:00
parent 9a379c835d
commit 11f71ea74f
5 changed files with 9 additions and 33 deletions

View File

@@ -204,7 +204,7 @@ void Client::_parse_request_line()
int ret;
raw_line = extract_line();
line = ::parse_http_first_line(raw_line);
line = ::split_trim(raw_line, " ", ' ');
if (line.size() != 3)
{
std::cerr << "err _parse_first_line(): wrong number of elements (" << ret << " instead of 3)\n";