Build fix

refs #9447
This commit is contained in:
Michael Friedrich 2015-07-09 12:28:15 +02:00
parent b357012ded
commit 14baa4a79b
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ bool HttpConnection::ProcessMessage(void)
response.SetStatus(400, "Bad request");
String msg = "<h1>Bad request</h1>";
response.WriteBody(msg.CStr(), msg.GetLength());
response.FinishBody();
response.Finish();
m_Stream->Shutdown();
return false;

View File

@ -90,7 +90,7 @@ void HttpHandler::ProcessRequest(HttpRequest& request, HttpResponse& response)
response.SetStatus(404, "Not found");
String msg = "<h1>Not found</h1>";
response.WriteBody(msg.CStr(), msg.GetLength());
response.FinishBody();
response.Finish();
return;
}