Merge pull request #3068 from cuberite/FinishHttpResponse
WebAdmin: Finish HTTP responses.
This commit is contained in:
commit
50866be74b
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user