Gregor
|
d68dfc75f9
Merge remote-tracking branch 'refs/remotes/marcoskirsch/master' into BetterLoggingAndMoreCloseConnections
|
7 роки тому |
Gregor
|
e4d829b6c9
Improve Connection Close handling
|
7 роки тому |
Gregor
|
9b10383cb6
Call to log had wrong parameters
|
7 роки тому |
smet
|
79313b0644
Update httpserver.lua
|
7 роки тому |
Marcos Kirsch
|
2e25a63807
Improved logging via serial.
|
7 роки тому |
Marcos Kirsch
|
f060295ef7
Remove print about server running from server code itself. Client can choose to do the prints from init.lua if client wants to, This seems more appropritate.
|
7 роки тому |
Marcos Kirsch
|
b84739dc1b
Minor documentation, variable renaming, refactoring to increase readability. Basically, I want the socket callbacks to receive a pointer to a function names onWhatever and I don't want other functions to have such names.
|
8 роки тому |
Marcos Kirsch
|
11ae46c96b
Improved print to show what the method is for a specific URI
|
8 роки тому |
Marcos Kirsch
|
e7db3dce7d
Moved BufferedConnection into its own file.
|
8 роки тому |
Marcos Kirsch
|
59e0218a72
Fix https://github.com/marcoskirsch/nodemcu-httpserver/issues/36
|
8 роки тому |
Marcos Kirsch
|
2f2fb26782
Several fixes and code cleanup. Gzipped files now work. Indentation cleaned up, Other small fixes:
|
8 роки тому |
Anton Andersen
|
1ddd47eaf9
Fix a memory leak when the connection is dropped by the client side
|
8 роки тому |
Philip Gladstone
|
f852959fa5
Handle the null write case
|
8 роки тому |
Philip Gladstone
|
8a195cb798
Reduce memory requirements a bit and fix weird issue in node_info.lua
|
8 роки тому |
Philip Gladstone
|
b4a2d02431
Fix the problem with the more modern SDK only allowing one outstanding
|
8 роки тому |
Hazar Karabay
|
b7f78481a2
File extension parsing fix
|
8 роки тому |
Ryan Voots
|
ef340bc82a
Implement support for more arbitrary HTTP methods. Allows GET PUT and POST. With minor changes needed to support others
|
8 роки тому |
Hazar Karabay
|
13e2bfbe9c
Use gzipped file if exists
|
8 роки тому |
Marcos
|
e61f3c7556
Merge pull request #27 from samdieck/master
|
9 роки тому |
Marcos Kirsch
|
ba44745194
remove trailing whitespace
|
9 роки тому |
Samuel A. Dieck
|
be63ee0093
Added basic auth. Added static settings file
|
9 роки тому |
TJ Borromeo
|
925af34b1a
De-duplicate wifi.sta.getip() call
|
9 роки тому |
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
|
9 роки тому |
Marcos Kirsch
|
7bd9b266be
Improved error handling, although some bugs still persist
|
9 роки тому |
Artem Pastukhov
|
92a44592d5
Fix end of line
|
9 роки тому |
Artem Pastukhov
|
0120924403
Fix some typos
|
9 роки тому |
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.
|
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
|
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 роки тому |