wip parsing first line http message with new utils functions
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user