Arnout Kazemier
16518c0715
Added a small indicator + test suite so you can see how a user is disconnected
2011-06-29 21:45:14 +02:00
Guillermo Rauch
09a713da18
Merge pull request #314 from nyxtom/master
...
Issue #313 TypeError: Object #<CleartextStream> has no method 'address'
2011-06-29 10:52:56 -07:00
Thomas Holloway
3e0239ed07
Quick fix to issues #313 to check if an address exists on a connection
2011-06-29 12:29:00 -05:00
Guillermo Rauch
d3d2a70944
Added MemoryStore expiration tests.
2011-06-29 11:38:28 -03:00
Guillermo Rauch
1bcf87eb14
Added RedisStore expiration tests.
2011-06-29 11:38:18 -03:00
Guillermo Rauch
f9c210c11c
Added expiration support to RedisStore.Client#destroy through EXPIRE command.
2011-06-29 11:37:58 -03:00
Guillermo Rauch
06421dd008
Added expiration support to MemoryStore.Client#destroy.
2011-06-29 11:37:26 -03:00
Guillermo Rauch
af7c7141f0
Changed; for consistency across stores, undefined becomes null.
2011-06-29 11:36:14 -03:00
Guillermo Rauch
def5498f61
Added expiration parameters to Store#destroyClient and Store#destroy
2011-06-29 11:35:44 -03:00
Guillermo Rauch
494b2d4487
Added Socket#has
...
Added `Socket#del`
2011-06-29 11:35:13 -03:00
Guillermo Rauch
ba3b854190
Changed; make sure to cache a reference to the client object so that it can be
...
referenced after its destroying and before the data expires.
2011-06-29 11:33:54 -03:00
Guillermo Rauch
abc3723b54
Changed; make sure to pass client store expiration to Store#destroyClient.
2011-06-29 11:33:24 -03:00
Guillermo Rauch
ba10280071
Added a client store expiration option with a 15 seconds default.
2011-06-29 11:32:47 -03:00
Guillermo Rauch
fc95d340ef
Merge pull request #306 from 3rd-Eden/namespace.auth
...
Namespace.auth
2011-06-29 04:14:29 -07:00
Arnout Kazemier
d47bcd51ba
Merge branch 'master' of github.com:LearnBoost/socket.io into namespace.auth
2011-06-29 13:10:23 +02:00
Guillermo Rauch
be7f56b819
Merge branch 'master' of github.com:LearnBoost/socket.io
2011-06-29 07:55:21 -03:00
Guillermo Rauch
6a83d6879c
Added redis store tests
2011-06-29 07:54:26 -03:00
Guillermo Rauch
56f5911b60
Added memory store tests
2011-06-29 07:54:13 -03:00
Guillermo Rauch
2fd38866d2
Finished redis store
2011-06-29 07:53:51 -03:00
Guillermo Rauch
4398271ff5
Added MemoryClient#has, MemoryClient#del
...
Refactored MemoryClient#destroy
2011-06-29 07:51:54 -03:00
Guillermo Rauch
6ce89b80ef
Added Store#destroyClient
...
Refactored Store#destroy
2011-06-29 07:51:21 -03:00
Guillermo Rauch
1449b18681
Added docs
2011-06-29 07:50:23 -03:00
Guillermo Rauch
f921164bf8
Removed Store instrumentation
2011-06-29 07:50:04 -03:00
Guillermo Rauch
ea1f5822ae
Removed Store#log since they're manager-independent.
2011-06-29 07:49:47 -03:00
Guillermo Rauch
2fd406f7b2
Fixed; make sure to clean up store upon client disconnect.
2011-06-29 07:49:22 -03:00
Guillermo Rauch
34d0cbdbf0
Merge pull request #310 from 3rd-Eden/websocket.write
...
Having a stab at issue #295
2011-06-29 03:20:49 -07:00
Arnout Kazemier
2110bac72d
Having a stab at issue #295
2011-06-29 12:17:20 +02:00
Arnout Kazemier
299e097fa7
Added storage for socket.handshake & updated test suite to check for it
2011-06-28 23:50:33 +02:00
Arnout Kazemier
a1963fcf7d
Added missing test suite
2011-06-28 21:49:45 +02:00
Arnout Kazemier
8abe712294
Passes test suite
2011-06-28 21:41:46 +02:00
Guillermo Rauch
df21bea4df
Fixed store references
2011-06-28 16:32:40 -03:00
Arnout Kazemier
45f2718954
Cleaned up the websocket test
2011-06-28 21:05:53 +02:00
Guillermo Rauch
24aef9e40b
Merge branch 'master' of github.com:LearnBoost/Socket.IO-node
2011-06-28 15:50:19 -03:00
Guillermo Rauch
a00ce7eee6
Fix for client side namespaces.
2011-06-28 15:49:48 -03:00
Guillermo Rauch
17dd94e3c9
Merge pull request #300 from 3rd-Eden/static.write
...
Create a new branch for fixing #287
2011-06-28 11:45:40 -07:00
Guillermo Rauch
81fe9e0117
Merge pull request #302 from 3rd-Eden/readme
...
Readme fixes
2011-06-28 11:45:05 -07:00
Arnout Kazemier
c9bf814580
Readme fixes
2011-06-28 20:43:24 +02:00
Arnout Kazemier
78b546e185
Incorporated feedback from @guille
2011-06-28 20:37:58 +02:00
Arnout Kazemier
e7deb32a6f
Create a new branch for fixing #287
2011-06-28 20:23:13 +02:00
Guillermo Rauch
4e4199c15e
Added test for SocketNamespace#clients
2011-06-28 13:33:09 -03:00
Guillermo Rauch
fb79657476
Added SocketNamespace#clients
2011-06-28 13:33:01 -03:00
Guillermo Rauch
f2212f6962
Make handshake data extensible
2011-06-28 09:27:07 -03:00
Guillermo Rauch
c9d21c5ff5
Fixed tests
2011-06-28 08:29:42 -03:00
Guillermo Rauch
6b6f17b098
Added handshakeData#address
...
Added handshakeData#secure
2011-06-28 08:29:00 -03:00
Guillermo Rauch
9740b42866
Added test for Socket#handshake.
2011-06-28 07:37:25 -03:00
Guillermo Rauch
2a1b2bd37e
Added Socket#handshake data getter.
2011-06-28 07:37:15 -03:00
Guillermo Rauch
b58c2e4afe
Added handshake data normalizer function.
...
Changed; Make sure we store the `handshake data` in the hash of connected clients.
2011-06-28 07:36:35 -03:00
Guillermo Rauch
a2f8fb4970
Implemented RedisStore.Client#get and RedisStore.Client#set
2011-06-27 16:21:32 -03:00
Guillermo Rauch
a4ef10d6a2
Added missing redis require.
2011-06-27 16:14:47 -03:00
Guillermo Rauch
91e43064f3
Added Redis store.
...
- Simply leverages pub/sub for nodes communication
- Makes sure own node doesn't consume its own messages
- Optionally uses msgpack to encode data for higher speed than JSON
- Opens two connections per node (one in pub/sub mode, one for normal redis)
2011-06-27 15:55:33 -03:00