276 Commits

Author SHA1 Message Date
Guillermo Rauch
3c61f64d29 Prepping package.json for npm publishing 0.6.1 2010-11-08 20:00:15 -03:00
Guillermo Rauch
e91c785ac8 0.6.1 changelog 2010-11-08 19:59:39 -03:00
Guillermo Rauch
d0369801a1 Restored global netserver for flashsocket
Now supporting `flashPolicyServer` option (thanks Arnout)
Tests passing with and without sudo/root user
Fixed noDelay/timeout/utf-8 for draft 76 (accidental typo)
2010-11-08 18:55:27 -03:00
Guillermo Rauch
e51b37da92 Merge branch 'master' of git://github.com/3rd-Eden/Socket.IO-node 2010-11-08 17:37:32 -03:00
Arnout Kazemier
c7bec15fa9 Close the netServer when the main http server closes, this way the event loop does not keep running.
NOTE: this is patch for node 0.2.X, this is not required for node 0.3.X
2010-11-08 21:35:42 +01:00
Guillermo Rauch
4c60ed190d Merge branch 'master' of git://github.com/3rd-Eden/Socket.IO-node 2010-11-08 17:28:19 -03:00
Arnout Kazemier
d959b96363 Fallback to try{}catch handling for node < 0.2.4 , node 0.3.X seems to capture the
errors correctly using the error event.
2010-11-08 21:25:20 +01:00
Guillermo Rauch
a9dc5e081b Merge branch 'master' of git://github.com/3rd-Eden/Socket.IO-node 2010-11-08 17:17:57 -03:00
Arnout Kazemier
c168c89f1a Added the flash policy server, it's enabled by default but can be turned off if needed.
Socket.io will automatically fallback to serving the policy file inline if server is disabled or
unable to start up.
2010-11-08 21:09:52 +01:00
Guillermo Rauch
be4c847692 Misc refactor 2010-11-02 01:13:04 -03:00
Guillermo Rauch
9649b41f25 Fixed history 2010-11-01 18:50:13 -03:00
Guillermo Rauch
6a0f80e4fc Changelog 2010-11-01 18:47:08 -03:00
Guillermo Rauch
4240385f6f Make sure to only write to open transports (thanks JohnDav) 0.6.0 2010-11-01 17:52:23 -03:00
Guillermo Rauch
22a93d06cb Another bad onClose call 2010-11-01 17:47:05 -03:00
Guillermo Rauch
4ea687b57e Ditto 2010-11-01 17:44:41 -03:00
Guillermo Rauch
227671d41d _open is still false, so destroy the connection immediately upon websocket error 2010-11-01 17:43:24 -03:00
Guillermo Rauch
7bf4ae1f05 Make sure .connection is not null on 'end' 2010-11-01 17:27:14 -03:00
Guillermo Rauch
b28d4288d5 Proper fix for invalid websocket key 2010-11-01 17:22:43 -03:00
Guillermo Rauch
835aee46bd Bump version 2010-11-01 17:20:50 -03:00
Guillermo Rauch
054e818bd9 Fix spooky bug 0.6.2 2010-11-01 17:20:23 -03:00
Guillermo Rauch
107806b304 Bump version 2010-11-01 17:10:52 -03:00
Guillermo Rauch
426795395c Call onclose after destroying the connection 2010-11-01 17:10:13 -03:00
Guillermo Rauch
df929876de Updated package.json 2010-11-01 16:54:15 -03:00
Guillermo Rauch
1002105f7a added onClose skipDisconnect flag 2010-11-01 16:34:37 -03:00
Guillermo Rauch
8f4f82a413 onClose call 2010-11-01 15:35:52 -03:00
Guillermo Rauch
e1745e20ac Make sure to disconnect directly onClose if the client is not handshaked and he can't possibly reconnect 2010-11-01 15:35:06 -03:00
Guillermo Rauch
681f004fe9 Make sure to clear the FD on end 2010-11-01 15:01:24 -03:00
Guillermo Rauch
58e879b45d Updated client 0.6 2010-11-01 13:01:24 -03:00
Guillermo Rauch
5a5daf6a29 Added jscoverage and web-socket-js as entire repos 2010-11-01 12:36:21 -03:00
Guillermo Rauch
e925fdaf4a Removed cached submodule 2010-11-01 12:31:07 -03:00
Guillermo Rauch
852073d0ea Delete cached submodule 2010-11-01 12:30:35 -03:00
Guillermo Rauch
cad75e9e6e Removing .gitmodules file 2010-11-01 12:28:29 -03:00
Guillermo Rauch
f66b66f667 Make sure to destroy the FD for invalid session ids 2010-10-31 16:14:31 -03:00
Guillermo Rauch
7e692f7be1 Prevent race condition in tests 2010-10-31 15:59:04 -03:00
Guillermo Rauch
51c43400bf Moved setTimeout/noDelay disabling to connection event. This disables the timeout for all the sockets in the server, but it seems to only work from here.
Removed .draft var
2010-10-31 15:48:51 -03:00
Guillermo Rauch
3d436bf04d Client updated
Disabled transport remembering for client
2010-10-30 21:37:48 -03:00
Guillermo Rauch
5e050c9d28 Restored client 2010-10-30 20:02:15 -03:00
Guillermo Rauch
8e1bf87604 Removed incorrect client 2010-10-30 19:59:57 -03:00
Guillermo Rauch
4f1553b7f4 Updated README to reflect no-more-submodules 2010-10-30 19:58:36 -03:00
Guillermo Rauch
c9796819f1 Added submodules as cloned repos 2010-10-30 19:57:46 -03:00
Guillermo Rauch
da4aa5b3ca Removed stale submodule 2010-10-30 19:52:05 -03:00
Guillermo Rauch
03428220a1 Cleaned up submodules 2010-10-30 19:51:50 -03:00
Guillermo Rauch
84c7e96b93 Removed submodules 2010-10-30 19:51:05 -03:00
Guillermo Rauch
8323a43480 Client#broadcast test 2010-10-30 19:45:19 -03:00
Guillermo Rauch
fd19426757 utils tests 2010-10-30 19:10:10 -03:00
Guillermo Rauch
19350dfa3e Moved encode/decode tests into util.js 2010-10-30 19:09:48 -03:00
Guillermo Rauch
5bf9097b39 Disabled 843 server. Will move into utility so that people can set up server-wide policy, and it just doesn't depend on socket.io 2010-10-30 18:51:26 -03:00
Guillermo Rauch
aa6f30210c More cleanup of flashsocket netserver 2010-10-30 17:44:30 -03:00
Guillermo Rauch
20383bd5c4 Cleaned up flashsocket netserver 2010-10-30 17:38:34 -03:00
Guillermo Rauch
9bc6c653c3 Make sure to end and destroy connection onDisconnect (for timeouts) 2010-10-30 15:47:19 -03:00