Commit Graph

468 Commits

Author SHA1 Message Date
Arnout Kazemier
1a2c8aa31f It was emitting uknown room, so the messages where never send fixes #291 2011-07-05 00:17:02 +02:00
Guillermo Rauch
7257e1ec36 Merge pull request #329 from 3rd-Eden/remoteAddress
.address() returned server ip >_<, solved with this patch and adjusted th
2011-07-03 05:43:48 -07:00
Arnout Kazemier
af5960bc28 address.remoteAddress -> address.address just like node's 2011-07-02 19:50:18 +02:00
Arnout Kazemier
206cfdf9c6 Merge branch 'master' of github.com:LearnBoost/socket.io into remoteAddress
Conflicts:
	lib/manager.js
2011-07-02 17:52:09 +02:00
Arnout Kazemier
65d7229079 .address() returned server ip >_<, solved with this patch and adjusted the test
suite
2011-07-02 17:49:32 +02:00
Guillermo Rauch
c18aa40ba6 Merge pull request #328 from coolbloke1324/master
Client IP instead of server IP for connectionAddress.
2011-07-02 08:41:33 -07:00
coolbloke1324
249f33da16 Updated Manager.prototype.handshakeData to provide connection.remoteAddress instead of .address() because .address() was returning server IP and .remoteAddress returns client IP. 2011-07-02 08:30:18 -07:00
Guillermo Rauch
b9a7c8be90 Merge pull request #325 from 3rd-Eden/ssl
See https://github.com/joyent/node/issues/1055
2011-07-01 12:41:02 -07:00
Arnout Kazemier
e4ac72a316 Unfucked space 2011-07-01 21:26:43 +02:00
Arnout Kazemier
dff9cbfe1b See https://github.com/joyent/node/issues/1055 2011-07-01 21:24:51 +02:00
Guillermo Rauch
29a8fff576 Removed transports definition in chat example. 2011-06-30 18:59:52 -03:00
Guillermo Rauch
e66a68f0fa Fixed room cleanup 2011-06-30 18:59:35 -03:00
Guillermo Rauch
4058eacbd4 Fixed; make sure the client is cleaned up after booting. 2011-06-30 18:58:55 -03:00
Guillermo Rauch
8cbd1544b9 Make sure to mark the client as non-open if the connection is closed. 2011-06-30 18:58:29 -03:00
Guillermo Rauch
f302744fec Removed unneeded buffer declarations. 2011-06-30 18:58:06 -03:00
Guillermo Rauch
a3ba4e2c10 Fixed; make sure to clear socket handlers and subscriptions upon transport close. 2011-06-30 18:19:41 -03:00
Guillermo Rauch
a483f9cafd Release 0.7.6 0.7.6 2011-06-30 15:32:22 -03:00
Guillermo Rauch
b43c82f3db Fixed general dispatching when a client has closed. 2011-06-30 14:03:43 -03:00
Guillermo Rauch
84f0099c1d Release 0.7.5 0.7.5 2011-06-30 12:57:44 -03:00
Guillermo Rauch
c6a883c8a9 Fixed dispatching to clients that are disconnected. 2011-06-30 12:56:42 -03:00
Guillermo Rauch
af2d9f285b Release 0.7.4 0.7.4 2011-06-30 12:48:00 -03:00
Guillermo Rauch
40c1f8da2b Fixed; only clear handlers if they were set. [level09] 2011-06-30 12:47:02 -03:00
Guillermo Rauch
9b40977616 Release 0.7.3 0.7.3 2011-06-30 10:38:03 -03:00
Guillermo Rauch
964f040b58 Merge pull request #318 from dvv/patch-1
normalize SocketNamespace local eventing
2011-06-30 06:22:26 -07:00
Vladimir Dronnikov
44919189ec normalize SocketNamespace local eventing 2011-06-30 03:12:55 -07:00
Guillermo Rauch
6c4cc5113f Merge pull request #315 from 3rd-Eden/intentional
disconnect
2011-06-29 13:23:45 -07:00
Arnout Kazemier
06e29fef67 Use packet.reason or default to 'packet' 2011-06-29 21:58:13 +02:00
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