summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2016-03-03 15:59:18 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2016-03-03 15:59:18 +0100
commit50866be74b59c5966e7def72c134a61ba9b6130e (patch)
tree1ed3a4ea951c56eec572bbaa9cb8d2ce0c8c4216 /src
parentMerge pull request #3060 from tonibm19/master (diff)
parentWebAdmin: Finish HTTP responses. (diff)
downloadcuberite-50866be74b59c5966e7def72c134a61ba9b6130e.tar
cuberite-50866be74b59c5966e7def72c134a61ba9b6130e.tar.gz
cuberite-50866be74b59c5966e7def72c134a61ba9b6130e.tar.bz2
cuberite-50866be74b59c5966e7def72c134a61ba9b6130e.tar.lz
cuberite-50866be74b59c5966e7def72c134a61ba9b6130e.tar.xz
cuberite-50866be74b59c5966e7def72c134a61ba9b6130e.tar.zst
cuberite-50866be74b59c5966e7def72c134a61ba9b6130e.zip
Diffstat (limited to 'src')
-rw-r--r--src/WebAdmin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp
index 08e90ea13..e43d749dd 100644
--- a/src/WebAdmin.cpp
+++ b/src/WebAdmin.cpp
@@ -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");