WebAdmin: Finish HTTP responses.
This commit is contained in:
parent
c815d03eb4
commit
4bf2dd2d2b
@ -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