Marcos Kirsch
|
11ae46c96b
Improved print to show what the method is for a specific URI
|
hace 8 años |
Marcos Kirsch
|
e7db3dce7d
Moved BufferedConnection into its own file.
|
hace 8 años |
Marcos Kirsch
|
59e0218a72
Fix https://github.com/marcoskirsch/nodemcu-httpserver/issues/36
|
hace 8 años |
Marcos Kirsch
|
2f2fb26782
Several fixes and code cleanup. Gzipped files now work. Indentation cleaned up, Other small fixes:
|
hace 8 años |
Anton Andersen
|
1ddd47eaf9
Fix a memory leak when the connection is dropped by the client side
|
hace 8 años |
Philip Gladstone
|
f852959fa5
Handle the null write case
|
hace 8 años |
Philip Gladstone
|
8a195cb798
Reduce memory requirements a bit and fix weird issue in node_info.lua
|
hace 8 años |
Philip Gladstone
|
b4a2d02431
Fix the problem with the more modern SDK only allowing one outstanding
|
hace 8 años |
Hazar Karabay
|
b7f78481a2
File extension parsing fix
|
hace 8 años |
Ryan Voots
|
ef340bc82a
Implement support for more arbitrary HTTP methods. Allows GET PUT and POST. With minor changes needed to support others
|
hace 8 años |
Hazar Karabay
|
13e2bfbe9c
Use gzipped file if exists
|
hace 8 años |
Marcos
|
e61f3c7556
Merge pull request #27 from samdieck/master
|
hace 9 años |
Marcos Kirsch
|
ba44745194
remove trailing whitespace
|
hace 9 años |
Samuel A. Dieck
|
be63ee0093
Added basic auth. Added static settings file
|
hace 9 años |
TJ Borromeo
|
925af34b1a
De-duplicate wifi.sta.getip() call
|
hace 9 años |
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
|
hace 9 años |
Marcos Kirsch
|
7bd9b266be
Improved error handling, although some bugs still persist
|
hace 9 años |
Artem Pastukhov
|
92a44592d5
Fix end of line
|
hace 9 años |
Artem Pastukhov
|
0120924403
Fix some typos
|
hace 9 años |
Marcos Kirsch
|
75ed944678
Refactored server to move request parsing into a separate file. This allows the server to be used in firmware builds with floating point enabled.
|
hace 9 años |
Marcos Kirsch
|
84f7a06aa1
No longer crashes when request is HTTP 1.0
|
hace 9 años |
Marcos Kirsch
|
a43fc20230
Remove debug traces, handle long filenames
|
hace 9 años |
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.
|
hace 9 años |
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
|
hace 9 años |
Marcos Kirsch
|
d73bd73211
Added back improved version of validateMethod
|
hace 9 años |
Marcos Kirsch
|
c0d6218397
Support for Lua scripts
|
hace 9 años |
Marcos Kirsch
|
51bfb3a8cc
Minor cleanup
|
hace 9 años |
Marcos Kirsch
|
5d4887927d
MIME types now correct
|
hace 9 años |
Marcos Kirsch
|
b75d610e6a
Shortened code.
|
hace 9 años |
Marcos Kirsch
|
c33ba75395
Send files in little chunks, large files work now.
|
hace 9 años |