slnpacifist
d2ead47fca
added encode=UTF-8 in jsonp-polling.js and xhr-polling.js since UTF-8 is the default encoding for http.ServerResponse.write
...
replaced string.length with Buffer.byteLength in jsonp-polling.js, listener.js and xhr-polling.js because content-length header requires number of bytes and not the number of symbols in string
2010-09-28 17:28:31 +07:00
Guillermo Rauch
c1e08318ca
Clearing the references to request, response and connection upon disconnect.
2010-09-26 16:29:51 +02:00
Guillermo Rauch
9cb8e3761b
Updated client
2010-09-25 11:20:58 +02:00
Guillermo Rauch
965bc9797a
Updating client
2010-09-24 06:05:27 +02:00
Guillermo Rauch
17d5ab7fe7
Updated client
2010-09-20 16:29:45 -07:00
Guillermo Rauch
880fb2b71d
Updated client
...
[ocd] fix
2010-09-20 16:26:52 -07:00
Guillermo Rauch
0464e4c1b5
Updated client
2010-09-20 15:42:54 -07:00
Guillermo Rauch
8ef523b97e
Expresso updated for regular expressions suppport (thanks tj)
2010-09-20 12:32:49 -07:00
Guillermo Rauch
a264f98e78
Updated expresso
2010-09-20 12:23:03 -07:00
Guillermo Rauch
efd458be7d
Cleaned up index and websocket tests
2010-09-20 12:03:18 -07:00
Guillermo Rauch
876cb2bd2e
Corrected Makefile target tests expression
2010-09-20 11:56:59 -07:00
Guillermo Rauch
5524812243
client.js tests fixes
...
Removed `.test` suffix from tests
Updated node-websocket-client
2010-09-20 11:56:27 -07:00
Guillermo Rauch
fbb9a46ba0
Credits to 3rd-Eden for his many patches
2010-09-17 16:11:00 -07:00
Arnout Kazemier
c6b176555e
Every require is blocking and requiring the sys module over and over and over again just makes no sense + it hurt performance.. Not to mention.. that it's already included.
2010-09-17 14:52:57 -07:00
Arnout Kazemier
a387982289
When an error occurs during the connection we should disconnect
2010-09-17 13:51:25 -07:00
Arnout Kazemier
fac2498f1f
The listen method doesn't return a netserver instance, so the server onclose netserver.close will fail because netserver will be undefined.
2010-09-17 13:50:06 -07:00
Guillermo Rauch
28909f3826
Updated client
2010-09-10 13:36:19 -07:00
Guillermo Rauch
61f4e27029
Socket.IO-node now serves the client out of the box for easier implementation
...
Memory caching and ETag support for static files
Tests
Simplified demo even further thanks to new static file serving
2010-09-09 17:54:25 -07:00
mgc
4b75668511
Failing to pass an origin header would throw an exception and crash the server. Added some handling.
2010-09-04 04:50:44 -04:00
Guillermo Rauch
d0415723ff
.connected renamed to ._open, and adopted proper connected ( fixes #41 )
...
example/client updated to latest socket.io client
2010-09-05 16:49:18 -07:00
Guillermo Rauch
61e76db16c
Better checking of WebSocket connections
2010-09-03 11:47:31 -07:00
Guillermo Rauch
701c35d952
Fix for certain buggy clients. Needs more investigation. Thanks Malte Ubl (@cramforce) for the report. Fixes #44
2010-09-03 11:28:23 -07:00
Guillermo Rauch
84ee2d8788
Updated client
2010-09-02 12:28:17 -07:00
Guillermo Rauch
e1cffb260c
Spacing fix
2010-09-01 13:25:50 -07:00
Guillermo Rauch
670ecbec89
Updated client
2010-09-01 02:06:45 -07:00
Guillermo Rauch
d920f8e64a
Merge branch 'master' of git://github.com/aheckmann/Socket.IO-node
2010-09-01 01:31:39 -07:00
Guillermo Rauch
5279b13f54
Better handling of SSL location (thanks @jdub)
2010-09-01 01:26:23 -07:00
Aaron Heckmann
831c293b0c
cache the length property
2010-09-01 01:07:24 -04:00
Guillermo Rauch
691de0ed7f
Fix for cross-domain websocket ( fixes #42 )
2010-08-31 15:26:56 -07:00
Guillermo Rauch
c9ec8e27d2
Updated docs
...
Added clientsIndex reference for BC
2010-08-31 14:36:05 -07:00
Guillermo Rauch
ab623c341b
Added sweet error message when trying to use flashsocket without root privileges (thanks @wink for inspiration)
...
Removed clients/clientsIndex and only using the index (fixes #28 )
2010-08-31 14:26:02 -07:00
Guillermo Rauch
24b2714820
[README] Transports clarification
2010-08-31 12:10:25 -07:00
Guillermo Rauch
c023fae2e2
Updated client
...
Fixed WebSocket location header for ws/wss (Thanks @jdub, Fixes #40 )
2010-08-30 19:00:52 -07:00
Guillermo Rauch
39bc1755d8
end was being fired before the connection had really ended in MobileSafari (fixes #29 and potentially creationix issue)
2010-08-30 18:13:26 -07:00
Guillermo Rauch
83ca36d54f
Cross domain issues with xhr-polling addressed. Thanks Niko Kaiser (@nicokaiser)
...
Added origin verification for incoming data.
2010-08-30 17:00:18 -07:00
Guillermo Rauch
dace58b3f7
Updated client
2010-08-30 15:24:10 -07:00
Guillermo Rauch
87f69ab566
Make sure pathname is set (thanks steadicat & swarmation team)
2010-08-30 12:54:39 -07:00
Guillermo Rauch
b705fff132
Fix for accessing routes that being with the namespace but are not a connection attempt. Thanks @steadicat from swarmation
2010-08-30 12:32:55 -07:00
Guillermo Rauch
8e9467719d
Updated client
2010-08-29 18:27:53 -07:00
Guillermo Rauch
0dfdc4c83e
Cleanup
2010-08-29 17:07:45 -07:00
Guillermo Rauch
72a173e1f1
Some fixes for JSONP-polling
2010-08-29 15:53:41 -07:00
Guillermo Rauch
50a68c9210
JSONP-polling support
2010-08-26 15:50:31 -07:00
Guillermo Rauch
56f0c0f40e
Updated client
2010-08-26 13:37:08 -07:00
Guillermo Rauch
cec2e282db
Graceful closing of connection for invalid websocket clients
2010-08-24 17:24:40 -07:00
Guillermo Rauch
4bec17e903
Make it possible to just require 'socket.io'
2010-08-24 17:18:22 -07:00
Guillermo Rauch
699e3f1d52
Make sure to abort the connect() method upon bad upgrade / origin verification
2010-08-24 15:51:21 -07:00
Guillermo Rauch
70759ed532
Support for automatic JSON encoding/decoding
...
Simplified chat example to take advantage of JSON encoding/decoding
Removed fs sync call from example
2010-08-23 21:20:55 -07:00
Guillermo Rauch
7b7270d5ae
Better how to use
2010-08-12 23:57:44 -07:00
Guillermo Rauch
e9ffd89050
Updated chat example (thanks saikat)
2010-08-04 16:10:00 -07:00
Guillermo Rauch
757337fac5
Cleanly closing connection if data is incorrectly framed
...
Reorganized tests
2010-08-02 09:50:28 -07:00