Commit Graph

165 Commits

Author SHA1 Message Date
Markus
420cc55960 Merge pull request #501 from amrbekhit/websockets_tcp_timeout_increase
Increased WEBSOCKETS_TCP_TIMEOUT to 5000ms.
2020-03-14 14:51:25 +01:00
Markus
64296cced7 Merge pull request #512 from maurus95/master
Implementing automatic WS server-side heartbeat
2020-02-15 22:27:40 +01:00
Markus
c3f01e43fc Merge pull request #514 from simap/master
read can return -1, check for this to avoid corrupting protocol
2020-02-15 22:18:48 +01:00
Ben Hencke
ebd7a528ac add a yield here for esp32 to avoid a busy loop
if data isn't available yet, but is expected, yielding here is nicer
than burning the cpu in a loop, just like in esp8266 case.
2020-02-15 06:43:46 -08:00
Ben Hencke
516911900b read can return -1, check for this to avoid corrupting protocol
fixes #470
2020-02-15 06:37:07 -08:00
maurus_fritsche
674a6e98c9 Implemented HeartBeat in WebSocketsServer 2020-02-10 19:45:55 +01:00
Amr Bekhit
4ee0ba5630 Increased WEBSOCKETS_TCP_TIMEOUT to 5000ms.
See https://github.com/Links2004/arduinoWebSockets/issues/500.
2019-12-24 17:03:32 +03:00
Links
8cc20b6e4b Merge branch 'master' of github.com:Links2004/arduinoWebSockets 2019-07-20 13:47:55 +02:00
Links
40152be197 code style 2019-07-20 13:47:40 +02:00
Links
e2669c1c5e [SocketIO] allow to send any message 2019-07-20 13:46:59 +02:00
Luc
bd158c9c5c Fix warnings in platformIO
Fix : warning: enumeration value 'WStype_ERROR' not handled in switch [-Wswitch]
Fix : warning: variable 'ip' set but not used [-Wunused-but-set-variable]
2019-07-04 12:58:37 +02:00
Links
adf2b07f3b fix #447 2019-06-23 12:14:44 +02:00
Links
c164c47f08 Merge branch 'gpn19' into socketio 2019-06-20 10:08:36 +02:00
Links
6a76efa791 fix #445 #446 set TCP timeout for ESP32 on connect 2019-06-20 10:06:21 +02:00
Links
5d26a65df4 only send payload when we have a ptr and length 2019-06-20 10:02:07 +02:00
Links
007b5ba9a8 ignore not needed WS events for SocketIO 2019-06-10 15:13:26 +02:00
Links
dbca2ab420 SocketIO message RX is working 2019-06-10 14:57:49 +02:00
Links
dfa35fa9ae clang-format 2019-06-10 13:31:51 +02:00
Links
794163cec9 Merge branch 'gpn18' into socketio 2019-06-10 13:30:54 +02:00
Links
3063ad27ae clang-format 2019-06-10 13:00:01 +02:00
Links
e8df841b7f add support for ESP32 ETH.h see #443 2019-06-10 09:29:58 +02:00
Links
0aa07421a6 add events for ping / pong rx #382 2019-05-30 20:15:03 +02:00
Links
df3ef524b6 fix #428 by setting Insecure if we do not have a CA or fingerprint 2019-05-30 18:24:28 +02:00
Links
8ec27b0468 fix indexOf #430 2019-05-30 16:52:20 +02:00
Links
c361895a4b add setCACert based on #434 2019-05-30 16:32:30 +02:00
Jozef Sovcik
1b6b42b877 processing client data before potential disconnect 2018-11-03 13:16:12 +01:00
Jozef Sovcik
d6dd7be987 disconnecting after pong not received 2018-11-03 13:15:14 +01:00
Links
d325bd338e Merge branch 'master' into gpn18 2018-10-26 20:33:29 +02:00
Jozef Sovcik
68800e2e7a implementing heartbeat 2018-10-23 18:01:33 +02:00
Sanket Patel
4db22fe5e4 make masking RFC complaint and fix #208 2018-09-23 16:49:10 +05:30
Markus
f7a7ab6ab4 wrap reasonCode in define
see #343
2018-07-04 16:29:28 +02:00
Markus
bdee8b9744 call end for ESP8266_ASYNC TCP Server 2018-06-21 09:30:11 +02:00
Links
50903cd410 basic event RX working 2018-05-12 17:10:17 +02:00
Links
f95c014342 basic event sending works 2018-05-12 16:53:34 +02:00
Links
8967356af3 improve ram usage on one char send 2018-05-12 15:27:08 +02:00
Links
d2043bf8ef start work for socket.IO
basic Engine.IO implementation
2018-05-12 15:13:50 +02:00
Links
7ddcdc2bd3 add info for AVR usage with version 2.x.x 2018-05-12 12:40:56 +02:00
Links
bde97179bf fix unused parameter warnings
fix switch warinings

part of #319
2018-05-12 11:39:59 +02:00
Links
a796079b0c fix code style 2018-05-12 11:27:03 +02:00
Links
e8c0d775fb fix #146 HTTP Header handler 2018-05-12 11:22:16 +02:00
Links
4b33575af1 add connectedClients see #242 2018-05-10 20:43:08 +02:00
Links
486a612693 allow usage of IPAddress #230 2018-05-10 20:12:48 +02:00
Links
ea8e81c6ce add close #322 2018-05-10 18:56:31 +02:00
chemicstry
ac8d806085 Fix format specifiers 2018-05-10 01:16:39 +03:00
Carlos Ruiz
d02932ef21 Allow custom WEBSOCKETS_SERVER_CLIENT_MAX definition 2018-04-02 22:17:34 -07:00
getbyte
50d9a8d6e5 fix undefined virtual methods 2018-03-18 01:25:49 +03:00
Links
b059d0711c sort examples by platform
rework the travis tests
create ESP32 examples
2018-02-07 17:28:17 +01:00
Links
f62aa6478d more ESP32 stuff 2018-02-06 21:36:44 +01:00
Links
46cff38287 fix ESP32 sha1 problem 2018-02-06 21:12:39 +01:00
Links
5e1f9b1c26 CORE_HAS_LIBB64 for ESP32 2018-02-06 20:44:10 +01:00