Arnout Kazemier
2110bac72d
Having a stab at issue #295
2011-06-29 12:17:20 +02:00
Arnout Kazemier
1966441bcc
Removed console.log + added \n
2011-06-29 09:55:44 +02:00
Arnout Kazemier
2342133e7e
Merge branch 'namespace.auth' of github.com:3rd-Eden/Socket.IO into namespace.auth
2011-06-29 09:50:22 +02:00
Arnout Kazemier
e8e92268c5
Style fixes + don't init on each check & clear the flashsocket tasks on close
2011-06-29 09:49:19 +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
eecc0f115e
Added test suite
2011-06-28 22:22:07 +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
Vladimir Dronnikov
c9f62d680b
Merge branch 'master' of github.com:LearnBoost/Socket.IO
2011-06-28 18:53:48 +04: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
06052d2b84
Merge pull request #217 from fat/rebuild
...
rebuild dist files!
2011-06-27 12:04:33 -07: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
Guillermo Rauch
76e6b9ea6f
Removed comments in xhr-polling test.
2011-06-27 15:53:15 -03:00
Guillermo Rauch
a517efcaca
Fixed signature of Socket#join in tests
...
Fixed style
2011-06-27 15:52:35 -03:00
Guillermo Rauch
8f6860b155
Make sure to close websocket clients on session tests
2011-06-27 15:52:17 -03:00
Guillermo Rauch
72283a9078
Removed comments from tests
2011-06-27 15:51:59 -03:00
Guillermo Rauch
c9d87ebb98
Fixed xhr polling transport name
2011-06-27 15:51:44 -03:00
Guillermo Rauch
4a591f191f
Fixed xhr polling constructor to take request as parameter
2011-06-27 15:51:26 -03:00
Guillermo Rauch
779816ded7
Added req to websocket transport constructor.
2011-06-27 15:50:46 -03:00
Guillermo Rauch
2b90edb3a2
Added req parameter to jsonp-polling constructor.
2011-06-27 15:50:24 -03:00
Guillermo Rauch
a99016df79
Make sure to take request as parameter in the http constructor
2011-06-27 15:50:08 -03:00
Guillermo Rauch
78c7a55ce4
Make sure to take request as parameter in the polling constructor
2011-06-27 15:49:37 -03:00
Guillermo Rauch
3fbce85315
Make sure to take request as parameter in the htmlfile constructor
2011-06-27 15:49:13 -03:00
Guillermo Rauch
9aa5320730
Fixed Flashsocket constructor
2011-06-27 15:48:20 -03:00
Guillermo Rauch
2fb28c8843
Removed Transport#subscribe and Transport#unsubscribe
2011-06-27 15:47:55 -03:00
Guillermo Rauch
767ca4f100
Fixed .end signature
2011-06-27 15:47:43 -03:00
Guillermo Rauch
733569ae68
Added Transport#discard. Mostly useful for when request/response cycles are load
...
balanced into different nodes.
2011-06-27 15:47:14 -03:00
Guillermo Rauch
f736302b97
Refactored Transport#end
...
Removed concept of transport pausing as we no longer have async buffers.
2011-06-27 15:46:43 -03:00
Guillermo Rauch
7bfcf54f90
Publish transport close event.
2011-06-27 15:45:58 -03:00
Guillermo Rauch
fa5ef9ff2d
Removed forced parameter from .end call from disconnect
2011-06-27 15:45:37 -03:00
Guillermo Rauch
df457440fd
Refactored onMessage to leverage subscriptions
2011-06-27 15:45:18 -03:00
Guillermo Rauch
375cbf49de
Important fix for hearbeats
2011-06-27 15:45:09 -03:00