Guillermo Rauch
9cfffa48e8
Added Transport#drained and Transport#onSocketDrain for every transport.
2011-05-22 13:17:00 -07:00
Guillermo Rauch
9b8ca8cc4b
Added test for undeliverable volatile events for websocket.
2011-05-22 13:02:13 -07:00
Guillermo Rauch
8c9e6a99bc
Added test for undeliverable volatile json in websocket.
2011-05-22 13:01:56 -07:00
Guillermo Rauch
4bba9b1e17
Added test for undeliverable volatile messages for websocket.
2011-05-22 13:01:28 -07:00
Guillermo Rauch
ef610de2b1
Added websocket test for maintaining session by responding to heartbeats.
2011-05-21 21:56:29 -07:00
Guillermo Rauch
c07693b46e
Added websocket test for heartbeat disconnection reason.
2011-05-21 21:41:54 -07:00
Guillermo Rauch
c2b6acbff4
Fixed; make sure to check for the beat presence before examining the disconnection
...
reason in htmlfile heartbeat test.
2011-05-21 21:38:34 -07:00
Guillermo Rauch
4ab6e9592f
Fixed; make sure to check for the heartbeat being sent to client in htmlfile
...
heartbeat test.
2011-05-21 21:36:33 -07:00
Guillermo Rauch
227e14c71b
Fixed global leak in websocket test.
2011-05-21 21:34:21 -07:00
Guillermo Rauch
ef435a0b03
Finished incomplete xhr-polling test.
2011-05-21 21:31:10 -07:00
Guillermo Rauch
c8a73d56c8
Added more xhr-polling tests.
2011-05-21 21:01:03 -07:00
Guillermo Rauch
07f5d1ff64
Added MemoryStore#clients.
...
Added MemoryStore#join.
Added MemoryStore#leave.
2011-05-21 20:57:41 -07:00
Guillermo Rauch
8416e76114
Added SocketNamespace#store shortcut.
...
Added SocketNamespace#in
Added SocketNamespace#for
Implemented SocketNamespace#packet
Fixed SocketNamespace#emit
Fixed SocketNamespace#send
2011-05-21 20:56:31 -07:00
Guillermo Rauch
b4034878eb
Added jsonp-polling tests.
2011-05-19 15:53:27 -07:00
Guillermo Rauch
b5b72bd212
Fixed; make sure handshake responses are not parsed.
2011-05-19 15:50:55 -07:00
Guillermo Rauch
88d5daa3b5
Finished jsonp-polling transport.
2011-05-19 15:35:18 -07:00
Guillermo Rauch
4f4d25e954
Fixed parameter names for htmlfile
2011-05-19 14:53:56 -07:00
Guillermo Rauch
f47a9dc110
Fixed parameter names for xhr-polling
2011-05-19 14:51:55 -07:00
Guillermo Rauch
882fb96567
Fixed; constructor parameter names for websocket.
2011-05-19 14:51:08 -07:00
Guillermo Rauch
aa1ba762ae
All tests passing
2011-05-19 13:26:26 -07:00
Guillermo Rauch
287dd40dd2
Fixed jsonp-polling and xhr-polling doWrite with no data.
2011-05-19 13:25:35 -07:00
Guillermo Rauch
ccac8fe8a4
Fixed; disable the Nagle algorithm for websocket.
2011-05-19 13:17:42 -07:00
Guillermo Rauch
43f6071f4f
Fixed jsonp-polling writes.
2011-05-19 13:17:25 -07:00
Guillermo Rauch
b4b7c0b428
Fixed; override clearTimeouts for clearing polling timeout for polling transports.
2011-05-19 13:16:59 -07:00
Guillermo Rauch
750e8a9272
Fixed; removed noDelay for all sockets.
2011-05-19 13:16:43 -07:00
Guillermo Rauch
118f5b2371
Commented out failing test related to connection notifications.
2011-05-18 20:40:37 -07:00
Guillermo Rauch
d64fdfa422
Added WebSocket tests.
2011-05-18 20:40:20 -07:00
Guillermo Rauch
ffb6557880
Hacked; expose the stream from the WebSocket client for more flexibility during
...
testing.
2011-05-18 20:39:52 -07:00
Guillermo Rauch
4f293ae44e
Completed WebSocket transport.
...
Added (naive) support for closing frames.
2011-05-18 20:39:24 -07:00
Guillermo Rauch
080abccf10
Fixed distributed connections detection.
...
Fixed; make sure all heartbeats are captured.
Changed; make sure to close on our end when the socket 'end'/'close' event fires.
2011-05-18 20:37:51 -07:00
Guillermo Rauch
7f788e1404
Fixed; added callback support to MemoryStore#publish.
2011-05-18 20:37:24 -07:00
Guillermo Rauch
887eb42b2f
Added node websocket client.
2011-05-17 18:52:41 -07:00
Guillermo Rauch
70c815dd47
Modifications to README.
2011-05-17 18:52:30 -07:00
Guillermo Rauch
b086a526a1
Added initial websocket test suite.
2011-05-17 18:52:24 -07:00
Guillermo Rauch
76a2da8cb8
Fixed style
2011-05-17 18:51:59 -07:00
Guillermo Rauch
a9ed766b85
Fixed; this.connection is undefined.
2011-05-17 18:51:44 -07:00
Guillermo Rauch
6a513d163b
Fixed; unknown transports just end the connection.
...
Fixed; origin verification happens at handshake time.
2011-05-17 18:51:11 -07:00
Guillermo Rauch
d9015b7732
Fix package.json (thanks @dshaw)
2011-05-17 17:03:22 -07:00
Guillermo Rauch
53bedb7abd
Added HTMLFile tests.
2011-05-17 16:12:39 -07:00
Guillermo Rauch
36b7ffe70c
Fix style
2011-05-17 16:12:28 -07:00
Guillermo Rauch
3595cc4f0b
Added HTTPClient export in test utilities.
2011-05-17 16:12:06 -07:00
Guillermo Rauch
c0481f615e
Fixed json-p debug instrumentation.
2011-05-17 16:11:51 -07:00
Guillermo Rauch
dfae47d42a
Make sure to disable heartbeat intervals in polling transports.
2011-05-17 16:10:47 -07:00
Guillermo Rauch
f5133b6a6f
Fixed style.
2011-05-17 16:10:33 -07:00
Guillermo Rauch
da95a4e31f
Added cross-connection heartbeat clearing. In a XHR transport, if the POST request
...
goes through a different connection, we want to clear the heartbeat timeout set in
the connection associated with the GET request.
Added disconnect reasons.
2011-05-17 16:09:01 -07:00
Guillermo Rauch
f65d381961
Changed; hide away message publishing behind message, hearbeat methods added to
...
the Store.
Added support for reason passing in the store callbacks.
2011-05-17 16:08:13 -07:00
Guillermo Rauch
d35998a633
Added reason support to disconnect callbacks.
2011-05-17 16:07:54 -07:00
Guillermo Rauch
2bf65750f3
Added; test/common exports HTTPClient for transport inheritance.
...
Added the possibility of HTTPClient not buffering responses.
2011-05-17 11:22:03 -07:00
Guillermo Rauch
e6ad372ef3
Changed; finished refactoring tests. All passing.
2011-05-17 10:52:45 -07:00
Guillermo Rauch
e9ab235174
Tests refactored.
2011-05-16 20:07:56 -07:00