This commit is contained in:
Peter Thorson
2012-01-20 08:00:37 -06:00
parent 3d38726970
commit 45c67502cb

View File

@@ -369,7 +369,7 @@ void server<endpoint>::connection<connection_type>::handle_read_request(
if (!m_request.parse_complete(request)) {
// not a valid HTTP request/response
throw http::exception("Recieved invalid HTTP Request",http::status_code::BAD_REQUEST);
throw http::exception("Received invalid HTTP Request",http::status_code::BAD_REQUEST);
}
// TODO: is there a way to short circuit this or something?