Marcos Kirsch
|
f80b37a915
Remove cars example, doesn't fit in flash memory well
|
пре 9 година |
Marcos Kirsch
|
84f7a06aa1
No longer crashes when request is HTTP 1.0
|
пре 9 година |
Marcos Kirsch
|
a43fc20230
Remove debug traces, handle long filenames
|
пре 9 година |
Marcos Kirsch
|
4f6cd02b1f
Fixes serving multiple connections simultaneously by reopening and scanning the file
|
пре 9 година |
Marcos Kirsch
|
be08c78e8b
Remove image, was just for testing purposes
|
пре 9 година |
Marcos Kirsch
|
4a2dafccc8
Reorder, add image, add garage example
|
пре 9 година |
Marcos Kirsch
|
d5396202ea
Serve large files example, now with smaller large files
|
пре 9 година |
Marcos Kirsch
|
b10a137712
Finally works when serving multiple files simultaneously. Still need to clan up
|
пре 9 година |
Marcos Kirsch
|
d5fcc71c23
Move function definition to inside the socket listen argument list. This is harder to follow, but allows the coroutine to be unique since it is now part of the closure. Multiple files can be served simultaneously this way.
|
пре 9 година |
Marcos Kirsch
|
65538efc1b
Modified HTML to call lua script via javascript. Also embedded an image just for stress testing the server
|
пре 9 година |
Marcos Kirsch
|
e571f19d81
Increase chunk size, improved traces for debugging purposes.
|
пре 9 година |
Marcos Kirsch
|
2ae0a573d9
Functional garage_door_opener example.
|
пре 9 година |
Marcos Kirsch
|
b88e0e382b
Add an example binary file (in this case a GIF). It's also bigger than the buffer on the NodeMCU so it stresses sending in chunks.
|
пре 9 година |
Marcos Kirsch
|
e31c35a3f3
Change to use nodemcu-uploader.py rather than luatool.py. It's faster with multiple files, but more importantly, it allows uploading binary files like images. Note that you will need a farly recent version of nodemcu-uploader.
|
пре 9 година |
Marcos Kirsch
|
1284b6363e
Add compilation of server files.
|
пре 9 година |
Marcos Kirsch
|
c805873395
Formatting change, but will delete
|
пре 9 година |
Marcos Kirsch
|
9c35443ea4
Updated to match code
|
пре 9 година |
Marcos Kirsch
|
50b1c09570
Updated to reflect latest status of the code
|
пре 9 година |
Marcos Kirsch
|
c1ca93a78c
Removed parameter that is no longer needed
|
пре 9 година |
Marcos Kirsch
|
f43025f237
init shows new way of starting server
|
пре 9 година |
Marcos Kirsch
|
5ebfa6ac8b
Updated to reflect server changes
|
пре 9 година |
Marcos Kirsch
|
5b472f3554
Add yield so that looong listings don't overflow mcu's buffer
|
пре 9 година |
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
|
пре 9 година |
Marcos Kirsch
|
f4875cbd86
Fix indentation
|
пре 9 година |
Marcos Kirsch
|
dfdae5dacd
Updates to README, added notes on memory usage, etc.
|
пре 9 година |
Marcos Kirsch
|
7c2d597bdc
Delete file that is not part of the server
|
пре 9 година |
Marcos
|
34d2e1ef55
Delete test.lua
|
пре 9 година |
Marcos Kirsch
|
d73bd73211
Added back improved version of validateMethod
|
пре 9 година |
Marcos Kirsch
|
796d17b205
commit some changes but I want to stop tracking, so that's next
|
пре 9 година |
Marcos Kirsch
|
9cea7cd370
Modify so all file types are uploaded, not just HTML files
|
пре 9 година |