412 Commits

Author SHA1 Message Date
Gordon Williams (u36)
dc5cd0df3c Allow a function to be called to retrieve key/certificate 2016-01-20 17:24:02 +00:00
Gordon Williams (u36)
671407b205 careless - remove debug print 2016-01-20 16:42:54 +00:00
Gordon Williams (u36)
a14b992c7e make sure Malloc clears allocated memory first, also some code duplication and dangling lock fixes 2016-01-20 16:18:30 +00:00
Gordon Williams (u36)
d968917965 Improve malloc behaviour for crypto lib (try and free all command history is first alloc fails)
Improve HTTPS error messages
2016-01-20 13:00:14 +00:00
Gordon Williams (u36)
29ccca5d3a oops - left in debug print 2016-01-20 09:31:45 +00:00
Gordon Williams (u36)
2e8f64b280 Make HTTP server only close connection after Content-Length bytes received 2016-01-19 14:17:39 +00:00
Thorsten von Eicken
f35ac96f29 fix socket unsent data error; update esp8266 socket tests 2016-01-18 10:39:45 -08:00
Gordon Williams
f184b044ec Fix regression caused by merge error 2016-01-18 09:18:14 +00:00
Thorsten von Eicken
02ee106f97 tweaks after esp8266 improvements 2016-01-17 17:47:51 -08:00
Thorsten von Eicken
528630211c merge upstream in to esp8266 fork 2016-01-17 17:26:21 -08:00
Gordon Williams
34326d03b9 Allow different types of network to have different buffer sizes - enlarge JS, Linux and WIZnet buffers 2016-01-15 18:37:54 +00:00
Gordon Williams
a0703998f3 Fix potential issue parsing HTTP headers when more data is sent after the header (fix #783) 2016-01-14 09:06:18 +00:00
Thorsten von Eicken
4a27608793 merge from upstream 2016-01-09 22:18:44 -08:00
Thorsten von Eicken
c3a5751d9c Always reset OneWire on select. Tweak esp8266 performance 2016-01-09 12:35:54 -08:00
Thorsten von Eicken
d8dec28a7c fix crash on exception #772; misc tweaks 2015-12-30 12:22:02 -08:00
Thorsten von Eicken
9aa07bc92d add sntp 2015-12-24 12:49:55 -08:00
Thorsten von Eicken
f210ca368f added mDNS 2015-12-24 09:17:51 -08:00
Thorsten von Eicken
c8c854e3b8 fix crash during wifi restore 2015-12-24 00:38:20 -08:00
Gordon Williams
9034604771 fix docs 2015-12-22 09:24:02 +00:00
Thorsten von Eicken
2a7aef535a fix server socket end() method 2015-12-22 08:57:48 +00:00
Thorsten von Eicken
91e353d41f fix server socket end() method 2015-12-21 21:42:07 -08:00
Thorsten von Eicken
b603c8aebc Merge remote-tracking branch 'upstream/master' 2015-12-21 09:41:04 -08:00
Gordon Williams
59e9afcfac Fix HTTP server write (1v85) regression (fix #769)
When sending all data, put an empty string in the `dSnd` field
if all data is used. This shows that headers have already been
sent.

It's actually marginally faster/more efficient than the old
method, which used a separate var to flag whether headers had
been sent or not.
2015-12-21 12:28:10 +00:00
Gordon Williams
af8879c72c fixing recently regressed client socket code 2015-12-21 10:42:36 +00:00
Thorsten von Eicken
7acd4bc29c move jsExceptionHere fmt strings to flash on esp8266 2015-12-20 11:45:51 -08:00
Thorsten von Eicken
1547ee0a5c 1400 JSvars for esp8266; misc logging changes 2015-12-20 11:45:29 -08:00
Thorsten von Eicken
4bf01bf0e9 automatic telnet 2015-12-19 23:31:05 -08:00
Thorsten von Eicken
8e480637e0 first cut at Wifi console, missing files 2015-12-19 18:41:22 -08:00
Thorsten von Eicken
e5f9db8bd3 first cut at Wifi console 2015-12-19 18:39:12 -08:00
Thorsten von Eicken
de54a9e862 move some tests around 2015-12-18 21:58:23 -08:00
Thorsten von Eicken
9887c6e1e6 add in-memory debug log 2015-12-18 21:57:37 -08:00
Thorsten von Eicken
a4ec9fa2b8 small esp8266 and doc tweaks 2015-12-18 17:39:22 -08:00
Thorsten von Eicken
059ff4aa2f improve HTTP event comments 2015-12-17 22:30:25 -08:00
Gordon Williams
e5c46de531 network docs 2015-12-17 15:31:39 +00:00
Thorsten von Eicken
19f65b8df4 merge upstream into tve's esp8266 fork 2015-12-14 22:24:02 -08:00
Thorsten von Eicken
2adfab7a23 generate 'no response' error if http request gets no response 2015-12-14 22:08:23 -08:00
Thorsten von Eicken
a1847d2fcb fix socket error handling 2015-12-14 21:56:10 -08:00
Thorsten von Eicken
a95ff12049 single error event function in socketserver 2015-12-13 12:32:09 -08:00
Gordon Williams
04287caf65 1v85 : Ensure HttpServerResponse.writeHead actually sends the header right away
- enables WebSocket Server support from JS
2015-12-11 16:03:33 +00:00
Thorsten von Eicken
8bb4202834 merge upstream into tve/master 2015-12-10 23:00:43 -08:00
Thorsten von Eicken
76b4772ebe remove some debug printfs 2015-12-10 22:53:07 -08:00
Thorsten von Eicken
4cd9c6e7b0 improve tests 2015-12-10 22:45:53 -08:00
Thorsten von Eicken
9b0a00bc01 small os_printf fix 2015-12-10 21:47:52 -08:00
Thorsten von Eicken
1f562156ca fix server sockets; use patched lwip 2015-12-10 20:58:41 -08:00
Thorsten von Eicken
c115a78988 implement error events in socketserver 2015-12-10 00:13:48 -08:00
Thorsten von Eicken
37c386d9dc fix #754 (WiFiEventDetail object left around) 2015-12-09 00:03:30 -08:00
Thorsten von Eicken
b15dcb06c7 add socket tests 2015-12-09 00:03:30 -08:00
Thorsten von Eicken
ef0024c68a return error object for client socket errors 2015-12-09 00:03:23 -08:00
Thorsten von Eicken
1cacab0510 make callback in net.connect() optional as in node.js 2015-12-08 22:18:16 -08:00
Thorsten von Eicken
fc3986ad8c fix local port; fix max sockets 2015-12-08 22:13:23 -08:00