249 Commits

Author SHA1 Message Date
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
Guillermo Rauch
64385011af Added flashsocket tests 2010-10-29 09:41:48 -03:00
Guillermo Rauch
9b8fb373bf Removed warning for inline flash policy (will add to docs) 2010-10-29 09:41:12 -03:00
Guillermo Rauch
e516148776 Prepared package.json for npm deployment 2010-10-29 08:21:05 -03:00
Guillermo Rauch
89b18c01ae Merge branch 'master' of git://github.com/kanaka/Socket.IO-node 2010-10-29 03:11:34 -03:00
Guillermo Rauch
2c0aa50d17 Added missing .listen() call to example. Fixes #80. Thanks @machee 2010-10-29 03:07:13 -03:00
Guillermo Rauch
4665f54b43 More consistent connection abortion in websocket transport 2010-10-28 23:19:31 -03:00
Guillermo Rauch
41ea4dbac6 Simplified error handling in client serving 2010-10-28 23:16:11 -03:00
Guillermo Rauch
bdbb419f95 Invalid transport test completed 2010-10-28 23:14:38 -03:00
Guillermo Rauch
71c99bfb87 Initial stab at trying to detect invalid transport responses
Make sure to provide a default for `log` if no log key was provided (internal)
2010-10-28 05:40:30 -03:00
Guillermo Rauch
bd654b74d4 Removed unnecessary file extension verification when serving the client 2010-10-28 05:23:32 -03:00
Guillermo Rauch
f6c2353066 Removed unnecessary Client check upon connection
Added support for /socket.io/WebSocketMain.swf
Added test for /socket.io/WebSocketMain.swf
2010-10-28 05:17:18 -03:00
Guillermo Rauch
9be3daf908 Client serving ETag testing 2010-10-28 05:00:24 -03:00
Guillermo Rauch
8d0196683b Added htmlfile transport tests 2010-10-28 04:12:57 -03:00
Guillermo Rauch
49f556e597 Added extra byte to IE iframe bytes padding 2010-10-28 04:12:29 -03:00
Guillermo Rauch
5caf5b8c75 JSONP Polling posts 2010-10-27 04:27:52 -03:00
Guillermo Rauch
85ad36e4dc Invalid session id test
Potenital fix for timeout assertion uncaught exception
2010-10-27 03:25:13 -03:00
Guillermo Rauch
1046e7275c Listener broadcasting test (* sometimes hangs) 2010-10-25 03:55:43 -03:00
Guillermo Rauch
6194b84b7d end() before destroy()ing the socket for non-WebSocket or non-valid Upgrade requests 2010-10-25 03:27:30 -03:00
Guillermo Rauch
22bc8a6e34 Added listener tests 2010-10-25 03:26:41 -03:00
Guillermo Rauch
880eaa1047 Only utilize 7XXX ports across tests 2010-10-25 03:25:58 -03:00
Guillermo Rauch
22df0e8191 Added test for non-socket.io requests
Simplified index.js tests
Moved listener tests into listener.js
2010-10-25 02:59:25 -03:00
Guillermo Rauch
8b483789fe Make sure to call .end() when listening on connection 'end' event
Make sure the file descriptor is destroyed on disconnection
Fix for websocket client tracking test
2010-10-24 20:31:18 -03:00
Joel Martin
25f1839923 Inline (same port) flash socket policy request.
If the server is not run with root privileges, then the flashsocket
transport will instead listen to all new connections on the main port
for policy requests.

Flash policy requests happen to both port 843 and
the destination port:
http://www.lightsphere.com/dev/articles/flash_socket_policy.html
2010-10-24 17:38:33 -05:00
Guillermo Rauch
7ea53b8bee [websocket test] Fix sending message to client upon connecting 2010-10-24 18:59:59 -03:00
Guillermo Rauch
75a4705426 [websocket test] Fix for connection and handshake test 2010-10-24 17:15:06 -03:00
Guillermo Rauch
4283ee3b8f [client files serving] Leverage end() write() call 2010-10-24 15:30:52 -03:00
Guillermo Rauch
3f97777749 [client serving] Make sure to not do a useless file lookup when file is cached 2010-10-24 15:29:56 -03:00