14 Commits

Author SHA1 Message Date
Marcos Kirsch
ead632d131 Refactoring - function for sending headers is now in its own file. All errors are sent using coroutine. Some other memory usage improvements 2015-04-19 23:42:58 -05:00
Artem Pastukhov
489ecb2544 fix %.gz regexp 2015-04-03 13:23:33 +03:00
Artem Pastukhov
6d608af486 Fix end of line 2015-04-03 12:50:41 +03:00
Artem Pastukhov
a51a4d929b Fixes, fixes 2015-04-02 16:57:26 +03:00
Artem Pastukhov
dd7aa55d96 Fixes 2015-04-02 16:09:38 +03:00
Artem Pastukhov
e9903863a9 Manual merge changes 2015-04-02 16:07:25 +03:00
Artem Pastukhov
da17c3b346 Merge branch 'master' of https://github.com/pastukhov/nodemcu-httpserver
Conflicts:
	Makefile
	http/node_info.lua
	httpserver-static.lua
2015-04-02 16:02:39 +03:00
Artem Pastukhov
a37de51189 some fixes 2015-04-02 15:37:40 +03:00
Marcos Kirsch
f09fe9a610 Fix typo: It's json not josn 2015-04-01 22:58:25 -05:00
Artem Pastukhov
0120924403 Fix some typos 2015-03-31 10:02:33 +03:00
Marcos Kirsch
4f6cd02b1f Fixes serving multiple connections simultaneously by reopening and scanning the file 2015-03-15 22:12:00 -05:00
Marcos Kirsch
b10a137712 Finally works when serving multiple files simultaneously. Still need to clan up 2015-03-15 13:16:59 -05:00
Marcos Kirsch
e571f19d81 Increase chunk size, improved traces for debugging purposes. 2015-03-10 22:12:49 -05:00
Marcos Kirsch
77920f4a94 Big refactoring: server now uses a separate thread that yields and then resumes on 'sent'. This allows us to serve large files. Moved serving of error pages and serving of static files into separate scripts httpserver-error.lua and httpserver-static.lua 2015-02-28 16:39:06 -06:00