Refactoring - function for sending headers is now in its own file. All errors are sent using coroutine. Some other memory usage improvements

This commit is contained in:
Marcos Kirsch
2015-04-19 23:42:58 -05:00
parent 453f38b52f
commit ead632d131
5 changed files with 38 additions and 60 deletions

View File

@@ -11,7 +11,7 @@ SPEED=9600
# End of user config
######################################################################
HTTP_FILES := $(wildcard http/*)
LUA_FILES := init.lua httpserver.lua httpserver-request.lua httpserver-static.lua httpserver-error.lua
LUA_FILES := init.lua httpserver.lua httpserver-request.lua httpserver-static.lua httpserver-header.lua httpserver-error.lua
# Print usage
usage: