Commit Graph
163 Commits
Author SHA1 Message Date
Ben Pirt 6f80e55a61 Modify httpd to be able to use streaming post requests.
This also ups the post buffer to 1460 to match the TCP packet size

WIP: The cgi function to update the espfs is not complete
2015-03-05 16:17:37 +00:00
Ben Pirt 92b27fd615 Expose the request type to the CGI functions so we can act based on its value 2015-03-05 14:49:59 +00:00
Ben Pirt e80e1862a8 Set the content-length header along with the 404 response 2015-03-05 14:49:51 +00:00
Ben Pirt 74ef535784 Tweak the find command so it works on a mac too 2015-03-05 14:49:43 +00:00
Ben Pirt a1754832c2 Add .DS_Store to gitignore file to make development sane on a mac 2015-03-05 14:49:35 +00:00
Jeroen Domburg 95ac5cd948 Cleaned up some more superfluous makefile cruft 2015-02-18 22:47:33 +01:00
Jeroen Domburg f25557b9cf Made everything a bit more friendly. Esp-open-sdk nowadays is the toolchain builder of choice anyway; it now works without modifications to that. 2015-02-17 11:57:51 +01:00
Jeroen Domburg da4d120b0c Giving the readme file some love 2015-02-05 23:15:55 +01:00
Jeroen Domburg bc6f84771e Add cache header when serving a static file. Thanks to Vincent Bernardoff for sending a patch. 2015-02-05 23:11:20 +01:00
Jeroen Domburg 65a409dd23 Add css mimetype 2015-02-05 23:10:14 +01:00
Jeroen Domburg db687e58d1 Fixed a bug causing httpdGetHeader to fail when POST data is present. Thanks to Damien Nicolet for reporting the bug and sending me a patch. 2015-02-02 23:33:15 +01:00
Jeroen Domburg 3b2bbf018d Added extra defines to make this thing work under sdk 0.9.5 2015-02-02 23:31:48 +01:00
Jeroen Domburg 6c6d63af46 Merge branch 'master' of ssh://spritesmods.com:/opt/git/esphttpd 2015-01-18 22:34:14 +01:00
Jeroen Domburg 704d7ad463 Fixed array out of bounds when connection pool is full. Thanks Захар Кравцов! 2015-01-18 22:33:34 +01:00
Sprite_tm 942624e363 Finally got rid of the stupid char-as-index problem. 2014-12-23 11:27:27 +01:00
Jeroen Domburg 876a68a67d Fixing the code to work under SDK 0.9.4. This commit should work. 2014-12-22 18:55:20 +01:00
Jeroen Domburg e56fdc4d6a Changed around everything to make use of sdk 0.9.4. CODE IS STILL BROKEN! 2014-12-22 17:50:02 +01:00
Jeroen Domburg 7df9b2bcdb More fixes for stupid ancient base64 snippet :/ 2014-12-16 22:04:24 +01:00
Jeroen Domburg 6ae806f60d unsigned -> unsigned int, to stop some compilers from throwing a warning 2014-12-14 12:23:39 +01:00
Jeroen Domburg 4c942e975b Fixed Makefile to work with an ESPDELAY of 0 2014-12-12 22:22:59 +01:00
Jeroen Domburg e971868f21 Working around a stupid error in the esp code... mostly... I hope. 2014-12-11 22:59:57 +01:00
Jeroen Domburg c0dc815574 Final comments 2014-12-11 21:37:33 +01:00
Jeroen Domburg 5a0e99d72e Small doc updates 2014-12-11 21:32:47 +01:00
Jeroen Domburg 784568c07f Added basic authentication 2014-12-11 21:25:49 +01:00
Jeroen Domburg 25a0984080 Added httpdGetHeader function 2014-12-11 20:33:53 +01:00
Jeroen Domburg a4d9c6fb0c Added more universal path matching function 2014-12-11 19:28:25 +01:00
Jeroen Domburg a13d161ed9 rssi fix, thanks kisesp 2014-12-10 17:31:35 +01:00
Jeroen Domburg c126d69e2b Added demo mode define, in which users cant mess with wifi settings 2014-12-10 15:33:02 +01:00
Jeroen Domburg d739c2d808 Fixed icon offset values 2014-12-04 22:35:58 +01:00
Jeroen Domburg 41cb6cee09 Adding needed lwip includes 2014-12-04 22:30:48 +01:00
Jeroen Domburg 35988080a1 Added nice icons for encryption and rssi 2014-12-04 22:27:41 +01:00
Jeroen Domburg f1d80059d6 Added warning about scanning not working in AP mode, possibility to switch modes. 2014-12-04 21:11:16 +01:00
Jeroen Domburg eda66688d0 Adding some lwip-related things 2014-12-04 20:00:58 +01:00
Jeroen Domburg 39eb85dc6b Move entirely to mamalalas C-based esptool 2014-12-04 18:57:43 +01:00
Jeroen Domburg a8b0da04c5 Added comments 2014-12-04 18:31:55 +01:00
Jeroen Domburg 6010c30fa6 Tpl engine now accepts %% as an escape for % 2014-12-04 17:33:19 +01:00
Jeroen Domburg a5534ae96f 0.9.3 improvements 2014-11-26 17:25:25 +01:00
Jeroen Domburg 46baa07a14 More missing includes. Thanks Rickta59! 2014-10-15 14:43:15 +02:00
Jeroen Domburg c22ae3469f Added webcounter to initial page 2014-10-14 22:40:02 +02:00
Jeroen Domburg a979dabd3b Forgot to add files :X. 2014-10-14 21:40:50 +02:00
Jeroen Domburg 69bd1bd9c5 Final polishings to HTML etc for release. 2014-10-14 21:35:52 +02:00
Jeroen Domburg c71ec70334 Renamed/split some files but forgot to add them 2014-10-14 21:07:24 +02:00
Jeroen Domburg aef27aaa5b Getting ready for release... 2014-10-14 21:06:13 +02:00
Jeroen Domburg 290fe32e46 Added extra stuff to gitignore 2014-10-14 16:13:13 +02:00
Jeroen Domburg f977678e7f ..;.and now with the changed files too. 2014-10-14 16:12:24 +02:00
Jeroen Domburg febf58df6e Fixed WiFi cgi stuff. Also: cleaned up everything so it compiles without warnings. include/espmissingincludes.h adds the missing protoypes for that. 2014-10-14 16:11:54 +02:00
Jeroen Domburg dc48a35f86 Extra includes, size check on webpages image, betetr make clean function 2014-10-14 16:09:54 +02:00
Jeroen Domburg 8c04617cb2 On-the-fly heatshrink decoding now works. 2014-10-13 20:06:38 +02:00
Jeroen Domburg 0cd1984fb7 Trying out transparent decompression using heatshrink... doesn't completely work on the esp8166 itself yet. 2014-10-13 11:49:27 +02:00
Jeroen Domburg f400fc2bb3 Fixed various mkespfs bugs 2014-10-13 11:47:44 +02:00