} else if (isCtl(c)) {
parseFailure("control character found in HTTP URI");
- transition(HTTP_PARSE_FAILED_ST, HTTP_PARSE_FAILED_EVT);
} else {
// Still parsing the URI. Append the next character to the
} else {
parseFailure("expected digit in HTTP version, found " +
std::string(1, c));
- transition(HTTP_PARSE_FAILED_ST, HTTP_PARSE_FAILED_EVT);
}
});
}
} else {
parseFailure("expected digit in HTTP version, found " +
std::string(1, c));
- transition(HTTP_PARSE_FAILED_ST, HTTP_PARSE_FAILED_EVT);
}
});
}