Import civetweb ans jsoncpp

This commit is contained in:
2016-02-27 00:07:26 +01:00
parent 5ed9eb9715
commit 3bc376da33
1153 changed files with 554633 additions and 0 deletions

15
3P/civetweb/test/exit.lua Normal file
View File

@@ -0,0 +1,15 @@
msg=[[<html><body>
<p>Exit CivetWeb</p>
</body></html>
]]
mg.write("HTTP/1.0 200 OK\r\n")
mg.write("Connection: close\r\n")
mg.write("Content-Length: " .. #msg .. "\r\n")
mg.write("Content-Type: text/html\r\n")
mg.write("\r\n")
mg.write(msg)
os.exit(0)