Commit History

Author SHA1 Message Date
  Marcos Kirsch dfb2dbecdf Smaller GIF, but animated 9 years ago
  Marcos Kirsch a0c25ca2c9 remove another large file 9 years ago
  Marcos Kirsch f80b37a915 Remove cars example, doesn't fit in flash memory well 9 years ago
  Marcos Kirsch 84f7a06aa1 No longer crashes when request is HTTP 1.0 9 years ago
  Marcos Kirsch a43fc20230 Remove debug traces, handle long filenames 9 years ago
  Marcos Kirsch 4f6cd02b1f Fixes serving multiple connections simultaneously by reopening and scanning the file 9 years ago
  Marcos Kirsch be08c78e8b Remove image, was just for testing purposes 9 years ago
  Marcos Kirsch 4a2dafccc8 Reorder, add image, add garage example 9 years ago
  Marcos Kirsch d5396202ea Serve large files example, now with smaller large files 9 years ago
  Marcos Kirsch b10a137712 Finally works when serving multiple files simultaneously. Still need to clan up 9 years ago
  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 years ago
  Marcos Kirsch 65538efc1b Modified HTML to call lua script via javascript. Also embedded an image just for stress testing the server 9 years ago
  Marcos Kirsch e571f19d81 Increase chunk size, improved traces for debugging purposes. 9 years ago
  Marcos Kirsch 2ae0a573d9 Functional garage_door_opener example. 9 years ago
  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 years ago
  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 years ago
  Marcos Kirsch 1284b6363e Add compilation of server files. 9 years ago
  Marcos Kirsch c805873395 Formatting change, but will delete 9 years ago
  Marcos Kirsch 9c35443ea4 Updated to match code 9 years ago
  Marcos Kirsch 50b1c09570 Updated to reflect latest status of the code 9 years ago
  Marcos Kirsch c1ca93a78c Removed parameter that is no longer needed 9 years ago
  Marcos Kirsch f43025f237 init shows new way of starting server 9 years ago
  Marcos Kirsch 5ebfa6ac8b Updated to reflect server changes 9 years ago
  Marcos Kirsch 5b472f3554 Add yield so that looong listings don't overflow mcu's buffer 9 years ago
  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 years ago
  Marcos Kirsch f4875cbd86 Fix indentation 9 years ago
  Marcos Kirsch dfdae5dacd Updates to README, added notes on memory usage, etc. 9 years ago
  Marcos Kirsch 7c2d597bdc Delete file that is not part of the server 9 years ago
  Marcos 34d2e1ef55 Delete test.lua 9 years ago
  Marcos Kirsch d73bd73211 Added back improved version of validateMethod 9 years ago