1
0

Merge pull request #3068 from cuberite/FinishHttpResponse

WebAdmin: Finish HTTP responses.
This commit is contained in:
Julian Laubstein 2016-03-03 15:59:18 +01:00
commit 50866be74b

View File

@ -318,6 +318,7 @@ void cWebAdmin::HandleWebadminRequest(cHTTPServerConnection & a_Connection, cHTT
Resp.SetContentType("text/html");
a_Connection.Send(Resp);
a_Connection.Send(Template.c_str(), Template.length());
a_Connection.FinishResponse();
return;
}
a_Connection.SendStatusAndReason(500, "m_TemplateScript failed");