Arnout Kazemier
8115cbacee
Added reconnect advice from broken handshakes + deadcode removal
2011-06-20 00:14:36 +02:00
Arnout Kazemier
78285af72f
Fix for encoding of the static serve and we should send buffers instead of strings
2011-06-18 21:37:54 +02:00
Arnout Kazemier
32db05d178
Passes test suite + 2 new tests
2011-06-18 21:12:11 +02:00
Arnout Kazemier
dba93a1bb3
lib/
2011-06-18 20:28:13 +02:00
Arnout Kazemier
567140e183
-- console.dir
2011-06-18 20:15:55 +02:00
Arnout Kazemier
b1837f348e
Improved static serving of content
2011-06-18 20:14:58 +02:00
Arnout Kazemier
0400a51b91
Should init the transport with the init function
...
not the flashsocket each time
2011-06-18 11:17:16 +02:00
Guillermo Rauch
b928e77fd1
Changed non-socket.io scope requests logging since it was confusing users.
2011-06-18 04:43:01 -03:00
Guillermo Rauch
c2e48f36b2
Changed; attempt to initialize all transports.
2011-06-18 04:42:33 -03:00
Arnout Kazemier
ab0c0d110c
Added tests for the policy file server
...
Changed `update:` back to `set:` because it's more pretty
2011-06-18 01:13:44 +02:00
Arnout Kazemier
26a30c5863
Added WIP flashsocket
2011-06-17 23:10:23 +02:00
Arnout Kazemier
070d76d1d5
Added test suite, updated set to update and enabled it in enable and disable commands
2011-06-16 22:51:25 +02:00
Arnout Kazemier
7646e09a1d
receive updates of config changes
2011-06-16 22:31:53 +02:00
Guillermo Rauch
99ab97af6d
Changed; custom browser client handler is now a middleware-like function.
...
Changed; client can be disabled altogether.
Changed; made client minification optional.
Changed; made client etag serving optional.
Added appropriate new tests.
2011-06-16 13:37:26 -03:00
Guillermo Rauch
81dedf11d2
Fixed; keep scope for Manager#configure.
2011-06-16 13:34:01 -03:00
Guillermo Rauch
028487a013
Changed; leveraged .get instead of .set with one argument.
2011-06-16 13:28:48 -03:00
Guillermo Rauch
d6a01b56f5
Added new browser client options.
2011-06-16 13:28:14 -03:00
Guillermo Rauch
9cc1e775c1
Added handshaken instrumentation
2011-06-12 19:49:39 -03:00
Guillermo Rauch
6583e9eac7
Simulate a connect packet when connecting to socket, to trigger the connect event
...
on '' namespace transparently.
2011-06-12 07:53:17 -03:00
Guillermo Rauch
66c1d5fece
Added right Content-Type header for JSONP handshake.
2011-06-11 18:18:55 -03:00
Guillermo Rauch
442f9d9522
Fixed JSON-p handshake error reporting (need tests!)
2011-06-11 18:14:18 -03:00
Guillermo Rauch
1e50ac91b9
Removed re-used socket transport validation concept, as it might mis-authorizse a socket
...
when more than one io.Socket is used in a browser.
2011-06-11 16:40:05 -03:00
Guillermo Rauch
9087d32c74
Make sure to resume() as soon as the count is registered.
...
Echo back connect packet upon first connection.
2011-06-10 12:03:55 -03:00
Guillermo Rauch
bcb00306b2
Renamed Manager#for with Manager#of.
2011-06-09 19:46:31 -03:00
Guillermo Rauch
a4cac1e423
Fixed client serving once it's been cached.
...
Fixed style.
2011-06-09 08:49:15 -03:00
Guillermo Rauch
4db20e870a
Added client require to manager.js
...
Removed clientVersion access from parent exports.
2011-06-09 08:31:15 -03:00
Guillermo Rauch
9cf9f1e9e0
Point to client.dist to access dist/ directory location.
2011-06-09 08:15:35 -03:00
Guillermo Rauch
e0da36e944
Fixed old listeners calls.
2011-06-02 16:55:32 -03:00
Guillermo Rauch
f8697e22ff
Fix json-p handshake.
2011-06-02 16:43:13 -03:00
Guillermo Rauch
7970815a54
Updated default timeouts.
...
Added error handling for JSONP handshake.
2011-05-30 11:37:20 -03:00
Guillermo Rauch
1726da4ca3
Added support for json-p handshake.
2011-05-24 22:53:42 -07:00
Guillermo Rauch
6a513d163b
Fixed; unknown transports just end the connection.
...
Fixed; origin verification happens at handshake time.
2011-05-17 18:51:11 -07:00
Guillermo Rauch
30ceabf10f
Removed __io counter in incoming sockets.
2011-05-15 19:06:21 -07:00
Guillermo Rauch
f1f3918739
Changed instrumentation for disconnection URI from error to debug.
2011-05-14 19:21:19 -07:00
Guillermo Rauch
6ed7964f8f
Fixed requests that just target the resource.
2011-05-10 14:49:13 -07:00
Guillermo Rauch
5f8192799b
Fixed iteration of namespaces in Manager
2011-05-08 22:42:16 -07:00
Guillermo Rauch
790e916cd4
OCD-related work.
2011-05-08 20:46:29 -07:00
Guillermo Rauch
7f3c5f6a73
Fixed typo
2011-05-08 20:44:54 -07:00
Guillermo Rauch
34a701fb7f
Changed; initialize default namespace with Manager#for instead of manually.
...
Changed; perform error handling for Store#isHandshaken.
Added; handle manual disconnect urls.
Changed; make sure to initialize a socket for all namespaces when a client connects.
Changed; delegate packet handling to the appropriate SocketNamespace.
Changed; cache regular expression for checkRequest method.
2011-05-08 20:28:16 -07:00
Guillermo Rauch
c2d0774d46
Removed const (slow)
2011-05-06 15:12:51 -07:00
Guillermo Rauch
1514af064f
Socket.IO 0.7-pre
2011-05-05 08:49:40 -07:00