Links
f40a390ab1
workaround windows gcc Template issue ( #228 , #229 )
2017-08-21 21:39:14 +02:00
Links
c64a082270
Merge branch 'write_big_data'
2017-08-19 21:36:10 +02:00
Links
522a67bc1b
add setReconnectInterval for the Client
2017-08-19 21:16:07 +02:00
Martin Becker
d0ab6c4fd1
Remove redundant method header and fix indent
2017-07-20 08:21:29 +02:00
Martin Becker
669f0b489e
Fix empty header issue
2017-07-19 11:12:00 +02:00
Martin Becker
42ab3168c5
Switch to setting extra headers via function
2017-07-19 09:59:34 +02:00
Martin Becker
ad07f3c665
Allow to disable "Origin" header
...
The origin header often makes trouble with current WebSocket implementations. Thus, we introduce the WEBSOCKET_HEADERS_NO_ORIGIN macro which disables this header it if defined.
2017-07-18 12:37:04 +02:00
Links
a4533a028c
fix NULL ptr when server abort the connection ( #207 )
2017-07-08 08:38:05 +02:00
jesben
40f84c19f4
Adding beginSocketIOSSL
2017-06-18 12:51:34 +02:00
jesben
f68d9d8030
Adding method for beginSocketIOSSL
2017-06-18 12:50:07 +02:00
Links
c911776860
add virtual to write
...
fix some naming
2017-04-10 17:49:42 +02:00
Links
adb52b11e9
handle cases when not all data can be written to TCP stack #187
2017-04-09 17:58:23 +02:00
Links
81e567b248
send 401 header too if auth string is empty #116
2017-03-18 10:35:23 +01:00
Links
177ec8239d
Merge branch 'master' of github.com:Links2004/arduinoWebSockets
2017-03-09 18:44:18 +01:00
Links
e675c7590e
add missing include for ESP with W5100 #177
2017-03-09 18:43:23 +01:00
Philippe Guay
26140be6c9
fix #150 typo lenght -> length
2017-03-06 15:09:03 -05:00
Links
34a2d282e4
allow to moves all Header strings to Flash (~300 Byte) #152
2017-02-22 15:30:58 +01:00
Links
e93a323e56
add support for Fragmentation / continuation opcode Receive
2017-02-22 14:29:26 +01:00
Carl Ouellette
60e3d1080e
Merge branch 'master' into master
2017-02-07 16:05:20 -05:00
nguyenhunga5
6757b8b74c
Fix socket.io issue
...
Fix socket.io issue reference from https://github.com/Links2004/arduinoWebSockets/issues/167#issuecomment-276724057
2017-02-03 13:30:20 +07:00
Markus
bef2541ede
fix #162
...
missing isSocketIO init
2017-01-21 12:31:12 +01:00
Markus
dac71c4c23
moving host header
...
try to fix #159
2017-01-08 09:55:28 +01:00
Markus
60903a2fa5
mask pong
...
#34
2017-01-06 10:48:30 +01:00
Markus
0aaf50f87f
mask ping for client
...
fix #34
2017-01-06 10:44:25 +01:00
Fábio Toledo
ab3b5bae46
Update WebSocketsClient.cpp
...
fix typo that was breaking the build
2016-11-24 02:25:01 -02:00
Markus
45bb7dbe23
Update WebSocketsClient.cpp
...
fix #140 Socket.io client doesn't reconnect to server
2016-11-23 17:39:48 +01:00
quantumlicht
5cd68c5304
- Remove duplicate handshake headers
...
- Add debug log for displaying handshake headers
Host, Origin, and User-Agent were duplicated in the case the client was
not socketIO or if it was and has a sessionId
2016-11-16 18:35:14 -05:00
Ugo Riboni
a097f0defd
protected inheritance is enough
2016-11-08 22:52:00 +01:00
Ugo Riboni
689e3ef921
Change inheritance of WebSocketServer
...
to allow classes inheriting from it to call sendFrame with custom
arguments.
2016-11-08 01:48:01 +01:00
Markus Sattler
d2719573d4
add function to send WS ping
...
sendPing();
#130
2016-10-22 19:47:44 +02:00
CAOU123
7810d0d0b3
Make library compatible with Particle devices
2016-10-20 15:46:44 -04:00
Markus
529a86cc26
Merge pull request #90 from kenkus-futurice/master
...
Add socket.io client
2016-09-11 17:13:57 +02:00
Sergey Anisimov
7361e2b1b6
WEBSOCKETS_NETWORK_TYPE exteral definition
...
Making possible to define WEBSOCKETS_NETWORK_TYPE as a compile parameter.
2016-07-15 20:29:13 +01:00
cella
b3d4367d10
fix spellings
2016-06-17 15:37:07 +01:00
joe
7e5c64a573
mandatoryHttpHeaderCount fix
2016-06-09 19:48:38 +01:00
joe
97443ae777
custom http header validation implementation; minor comment fixes
2016-06-08 23:11:21 +01:00
joe
e589b40b25
custom http header validation implementation
2016-06-08 23:04:18 +01:00
Kenta Kusumoto
f8a5acc9b7
Add socket.io client
2016-06-06 15:21:13 +03:00
jlippa
48ee5fc6fb
Firefox fix
...
Overlay fix for Firefox and other clients that send additional data in the Connection header e.g. "Connection: Keep-Alive, Upgrade"
2016-06-05 08:27:39 +01:00
jlippa
c4e5f5c7e7
RFC 6455 4.2.1.4 case sensitivity fix
...
This is a case sensitivity fix for the Connection header Upgrade value to make this part meet the requirement of IETF websocket RFC 6455 4.2.1.4: "A |Connection| header field that includes the token "Upgrade", treated as an ASCII case-insensitive value."
2016-06-04 21:31:42 +01:00
Markus
6972f7a84e
Merge pull request #74 from wnemay/master
...
Adjustments to headers during client handshake.
2016-05-10 18:02:09 +02:00
Thorsten Freitag
dd14850bb6
Used case insensitive recognition for upgrade header. Should work as before, but also with servers that wrongly use lower case upgrade in the header
2016-05-10 11:56:01 +10:00
Thorsten Freitag
d36f7bb100
Changed Header value to lower case upgrade, seems to fix connection issues with SAP HCP IoT services. Changed setAuthorization(const char * auth) to send Auth header as is, without BASIC to enable oAuth tokens in header
2016-05-09 00:11:42 +10:00
Wayne May
10a8d3ca67
Adding Origin, as required by spec. https://tools.ietf.org/html/rfc6455#section-1.6
2016-04-30 20:55:59 -07:00
Wayne May
4f55c36c80
RFC requires a port for Host when it is non default. https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23
2016-04-30 15:46:19 -07:00
Uri Shaked
00be8c7833
Make the Sec-WebSocket-Protocol header optional
...
Some server implementations (e.g. slack bots api) don't accept the connection if `Sec-WebSocket-Protocol` is specified.
2016-03-16 11:55:21 +02:00
Markus Sattler
8988faf5f0
fix #60
...
os_printf can not handle String direct
2016-03-05 12:13:13 +01:00
Markus Sattler
450ca76a74
add return value to all send functions
2016-02-20 12:27:19 +01:00
Markus Sattler
c57a4c19ab
add HTTP Basic Authorization to WS Client and Server
...
see: #55
2016-02-17 17:56:03 +01:00
Markus Sattler
2d87bfa3d6
less ram usage when using strings
2016-02-06 19:21:24 +01:00