271 Commits

Author SHA1 Message Date
Marcos
241de797b0 Merge pull request #70 from computerlyrik/uploader-configuration
modularize nodemcu-command, add start_baud parameter
2016-12-17 21:40:42 -06:00
Marcos Kirsch
1cc0d120f0 Add private to Cache-Control 2016-12-17 21:12:25 -06:00
Christian Fischer
ea74a6de7d modularize nodemcu-command, add start_baud parameter 2016-12-09 17:54:31 +01:00
ffedoroff
73fbf92986 line shorter
line is too long and luatool.py raize exception when uploading that file
2016-11-02 16:37:41 +06:00
Marcos
c2aeffc130 Merge pull request #62 from bhollosi/dev
typo fix at Cache-Control header, new http response code: 500
2016-05-26 19:38:38 -05:00
Balazs Hollosi
2b75289dfc typo fix at Cache-Control header, new http response code: 500 / internal server error 2016-05-27 01:35:10 +02:00
Balazs Hollosi
67e5ff5c20 typo fix at Cache-Control header, new http response code: 500 / internal server error 2016-05-27 01:12:57 +02:00
Marcos
989b4c1d36 Merge pull request #60 from marcoskirsch/master
http-server
2016-05-04 16:10:31 -05:00
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. 2016-02-21 22:14:01 -06:00
Marcos Kirsch
bf7f918d28 Added comments, chunk sized cannot be presently increased. 2016-02-21 22:12:09 -06:00
Marcos Kirsch
f9d94d9aa2 Fixed typo in HTML and reduced file size of image. 2016-02-21 22:11:03 -06:00
Marcos Kirsch
8e3fb81062 Remove TODO for BufferedConnection, decided to go keep the buffering after getting feedback 2016-02-21 22:10:27 -06:00
Marcos
9bd12123b0 Merge pull request #54 from devyte/master
httpserver-connection: implement fragmentation logic
2016-02-21 20:32:18 -06:00
Marcos
c37560ad5f Merge pull request #55 from marcelstoer/patch-1
Fix NodeMCU docs link
2016-02-21 15:31:00 -06:00
Marcel Stör
1ed7243056 Fix NodeMCU docs link 2016-02-21 21:42:24 +01:00
Develo
3dd98667dd httpserver-connection: implement fragmentation logic
Implement fragmentation logic in send() method of bufferedConnection:send(). Now, payloads are accumulated up to a threshold amount of bytes, and then flushed. If a payload would make the total accumulated larger, it gets carved to complete threshold and flushed. Any remainder get successively flushed in threshold-sized chunks, until the remainder is less than threshold, which then gets again buffered.
2016-02-21 15:48:49 -03:00
Marcos Kirsch
1b4a2c9d9a Concatenate .. less in lua since BufferedConnection will do it for us anyway: 2016-02-21 12:23:06 -06:00
Marcos Kirsch
11ae46c96b Improved print to show what the method is for a specific URI 2016-02-21 12:22:16 -06:00
Marcos Kirsch
86b00f922c Added example that loads several images as a stress test. This does not currently work. 2016-02-21 11:32:35 -06:00
Marcos Kirsch
2ed2e6f636 Add TODO.md file to keep track of things that aren't necessarily issues 2016-02-16 23:02:23 -06:00
Marcos Kirsch
a75f74efb5 Improve documentation 2016-02-16 23:00:37 -06:00
Marcos Kirsch
e7db3dce7d Moved BufferedConnection into its own file. 2016-02-16 22:45:14 -06:00
Marcos Kirsch
3357919f44 typo 2016-02-16 09:05:38 -06:00
Marcos Kirsch
e255d7f6b1 Add Terry Ellison quote 2016-02-16 09:03:13 -06:00
Marcos Kirsch
59e0218a72 Fix https://github.com/marcoskirsch/nodemcu-httpserver/issues/36 2016-02-15 23:19:29 -06:00
Marcos Kirsch
4776545a41 added Contributing section 2016-02-15 23:01:59 -06:00
Marcos Kirsch
d71b079932 clean up, but example does not work at this time 2016-02-15 22:54:19 -06:00
Marcos Kirsch
2f2fb26782 Several fixes and code cleanup. Gzipped files now work. Indentation cleaned up, Other small fixes: 2016-02-15 22:52:30 -06:00
Marcos Kirsch
11dde7075b Added a second link to zipped file, with gz extension 2016-02-15 22:48:53 -06:00
Marcos Kirsch
5ccc69dc73 Updated examples to remove yields, pass req param. Integration woes. 2016-02-15 22:33:30 -06:00
Marcos Kirsch
d31b2d2c89 No need to yield. Conditionally show form. Updated title. 2016-02-15 22:31:48 -06:00
Marcos Kirsch
066b602444 Updated README with new instructions 2016-02-15 22:31:08 -06:00
Marcos Kirsch
fbc6506faa Merged with main repository 2016-02-15 20:54:11 -06:00
Marcos Kirsch
64f07cb38d Change NodeMCU firmware link to point to github project. 2016-02-15 14:21:16 -06:00
Marcos Kirsch
4d4442318d Fix example server-side scripts to work on new nodemcu-firmware. Specifically, call coroutine.yield() after each connection:send() except the last one, since we can no longer queue sends. 2016-02-15 14:20:28 -06:00
Marcos Kirsch
4ff7b2b78d Trivial placeholder print statement, useful for debugging. 2016-02-15 13:52:27 -06:00
Marcos Kirsch
1b14a516aa Fix bugs for newer nodemcu-firmware: new firmware does not allow queuing multiple connection:send() operations. These changes ensure we yield after every send except the last one. 2016-02-15 13:52:01 -06:00
Marcos Kirsch
37e58389c6 Trivial improvement to print message 2016-02-15 13:46:50 -06:00
Marcos Kirsch
0e4b515514 Default to join an existing WiFi network, more common at least for my own testing 2016-02-15 13:12:19 -06:00
Marcos Kirsch
33b94ec5d5 Modified Makefile so that the nodemcu-uploader script no longer needs to be executable 2016-02-15 13:08:59 -06:00
Marcos
c218c4f5a8 Merge pull request #50 from TriAnMan/fix-memory-leak
Fix a memory leak when the connection is dropped by the client side
2016-02-15 09:10:44 -06:00
Marcos
dc816cc258 Merge pull request #48 from lluki/master
matching of mime type in http request header that contain a charset a…
2016-02-15 09:09:53 -06:00
Anton Andersen
1ddd47eaf9 Fix a memory leak when the connection is dropped by the client side 2016-02-15 12:46:54 +03:00
Lukas Humbel
02832a1a45 matching of mime type in http request header that contain a charset appendix 2015-12-19 13:43:55 +01:00
Marcos
8715123904 Merge pull request #45 from IntelliDust/master
Added handling of watchdog for serving bigger files
2015-12-05 11:44:32 -06:00
IntelliDust
1f43c9f5e5 Added Cache-Control header for gzipped content. This will prevent for
getting css.gz js.gz and so by browser from server.
2015-12-03 12:51:42 +01:00
IntelliDust
1b8a1f7750 Added handling of watchdog for serving bigger files 2015-12-03 12:48:27 +01:00
Marcos
3eecd76908 Merge pull request #43 from pjsg/master
Fix the problem with the more modern SDK only allowing one outstanding connection:send
2015-11-29 10:16:11 -06:00
Philip Gladstone
f852959fa5 Handle the null write case 2015-11-28 21:00:34 -05:00
Philip Gladstone
9fee6ee8e8 Removed another unused file 2015-11-28 16:36:53 -05:00