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
Philip Gladstone
a54159b39f
Remove unused file
2015-11-28 12:23:22 -05:00
Philip Gladstone
8a195cb798
Reduce memory requirements a bit and fix weird issue in node_info.lua
...
example
2015-11-28 12:22:20 -05:00
Philip Gladstone
b4a2d02431
Fix the problem with the more modern SDK only allowing one outstanding
...
connection:send at a time. Long and short of it, don't use coroutine.yield
any more when serving content.
2015-11-22 13:39:03 -05:00
Marcos
067ffdf3e5
Merge pull request #39 from dimsumlabs/master
...
Fixed syntax error on line 92
2015-10-03 21:54:34 -05:00
Marcos
cf0d777632
Merge pull request #38 from hazarkarabay/master
...
File extension parsing, gzip detection and init.lua fix
2015-10-03 21:53:55 -05:00
Lionello Lunesu
72b21a61ae
Fixed syntax error on line 92
2015-10-04 00:02:40 +08:00
Hazar Karabay
0ddaa52527
init.lua typo
...
Deleting stray character at line 92.
2015-09-16 22:10:49 +03:00
Hazar Karabay
b7f78481a2
File extension parsing fix
...
If a filename contains dots, extension was parsed as everything after
the first dot.
File extension must be what it is after the last dot.
Also includes a rewrited workaround for mimetypes if the requested file
gzip compressed.
2015-09-16 22:10:21 +03:00
Marcos
792c0814a5
Merge pull request #31 from pospanet/master
...
Full WiFi configuration done by code based on WiFi mode
2015-09-04 09:52:03 -05:00
Marcos
031dad0f80
Merge pull request #34 from simcop2387/master
...
Implement support for more arbitrary HTTP methods.
2015-09-04 09:50:56 -05:00
Ryan Voots
ef340bc82a
Implement support for more arbitrary HTTP methods. Allows GET PUT and POST. With minor changes needed to support others
2015-08-31 18:28:03 -07:00
Marcos
af57939e0d
Merge pull request #33 from hazarkarabay/gzip-variant
...
Use gzipped file if exists
2015-08-29 19:21:43 -05:00
Hazar Karabay
13e2bfbe9c
Use gzipped file if exists
...
If foo.html is requested and not found, foo.html.gz is checked and if
exists, will served.
2015-08-29 15:30:37 +03:00
Pospa
bbcce2d64d
AP mode support added
2015-08-09 15:18:08 +02:00
Marcos Kirsch
ad4042f3d6
Leave auth disabled by default
2015-07-20 21:13:11 -05:00
Marcos
1d3cdaf1a7
Merge pull request #29 from borromeotlhs/patch-8
...
Update node_info.lua
2015-07-20 15:42:30 -05:00
TJ Borromeo
e52ca7731f
Update node_info.lua
...
reducing overhead from extra sends probably well beneath buffer limits
2015-07-20 13:22:38 -07:00
Marcos
8acc6aa8ca
Fix title link
2015-07-20 10:01:49 -05:00
Marcos
cbcc7f22a0
Delete b64.py
...
File was renamed
2015-07-19 18:23:48 -05:00
Marcos Kirsch
1d4c253277
Merge branch 'master' of https://github.com/marcoskirsch/nodemcu-httpserver
...
he commit.
2015-07-19 18:22:06 -05:00
Marcos Kirsch
1918e8af96
Minor updates
2015-07-19 18:21:51 -05:00
Marcos
cac1a8146a
Delete b64.lua
...
File was renamed
2015-07-19 13:36:34 -05:00
Marcos Kirsch
dcc8df4960
Update for renamed file
2015-07-19 13:35:07 -05:00
Marcos Kirsch
aa507264eb
Better comments, add realm
2015-07-19 13:34:16 -05:00
Marcos Kirsch
0bd5e20c62
Retrofit for renamed file, display configurable realm
2015-07-19 13:33:47 -05:00
Marcos Kirsch
122926f9f6
Remove tabs, minor rework and comment updates
2015-07-19 13:32:59 -05:00
Marcos Kirsch
c693c7f90f
Update for renamed file
2015-07-19 13:32:20 -05:00
Marcos Kirsch
69c7f385b8
Better not to start server automatically
2015-07-19 12:22:04 -05:00
Marcos Kirsch
820437a98a
Was missing b64.lua
2015-07-19 12:21:12 -05:00
Marcos
e61f3c7556
Merge pull request #27 from samdieck/master
...
Added basic auth. Added static settings file
2015-07-19 09:20:25 -05:00