29 Commits

Author SHA1 Message Date
Guillermo Rauch
d79de5aa56 Multipart fix for Node 0.1.98 2010-06-18 02:38:08 -03:00
Guillermo Rauch
06769c4ca7 Object fixes 2010-06-01 16:19:29 -03:00
Christiaan
df876e37df New changes passing JSlint as much as possible again 2010-06-01 21:05:20 +02:00
Christiaan
31d119740c Merge branch 'master' of http://github.com/LearnBoost/Socket.IO-node
Conflicts:
	lib/socket.io/client.js
	lib/socket.io/listener.js
	lib/socket.io/transports/websocket.js
	lib/socket.io/transports/xhr-multipart.js
	lib/socket.io/transports/xhr-polling.js

Conflicts Resolved
2010-06-01 20:54:13 +02:00
Guillermo Rauch
f3c28e298a Cross domain support:
XHR-Polling
 XHR-Multipart
WebSocket support for Webkit nightly / Chromium nightly
Added heartbeats to multipart
2010-06-01 08:01:11 -03:00
Brian
71d80181fa Fixed multipart streaming so that it works properly again (especially for cross-domain requests). Tested on Firefox 3.6.4. 2010-05-30 22:52:28 -07:00
Brian
0e483a05a5 Moved the cross-site origin checking to the client class, added cross-domain support to xhr-* transports, added ping functionality for the xhr-multipart transport, and fixed the listener class where the log function that can be overridden was not being referenced everywhere. 2010-05-30 22:52:16 -07:00
Christiaan
c1fca0c520 Almost fully passing JSlint 2010-05-29 15:21:46 +02:00
Visnu Pitiyanuvath
1918b75360 implement the sec-websocket-key handshake for latest chrome and webkit builds
http://www.whatwg.org/specs/web-apps/current-work/complete/network.html#opening-handshake
2010-05-28 11:15:55 -07:00
Christiaan
5e255ccdf9 Use exports instead of this as exports is the official way according to the commonjs spec 2010-05-28 19:37:46 +02:00
Christiaan
9a306fddab variables which are no constructor shouldn't start with a uppercase letter 2010-05-28 19:24:38 +02:00
Christiaan
dc593e9972 Use EventEmitter public API instead of the private _events array 2010-05-28 19:22:54 +02:00
Guillermo Rauch
7f5228abc3 Fixed syntax error -.- 2010-05-28 06:12:31 -03:00
Guillermo Rauch
0ad237ddf5 Fix for stream not writable problems 2010-05-28 05:28:25 -03:00
Guillermo Rauch
0f783bc06a Fixed htmlfile
- end > close for detecting closed connections
 - Added hearbeats
 - added flush() in write
2010-05-27 21:33:07 -03:00
Virtuo
dd3d829173 Correct bug due to variable name clash.
IMO: this kind of code should be put in an external lib and 100% tested.
2010-05-21 13:09:14 +02:00
Guillermo Rauch
0459c95848 Added support for Node 0.1.94
Close timeout for transports with keep-alive / websocket set to 0
Close timeout for xhr-polling reduced from 8 seconds to 5 seconds
Now you can pass options to specific transports from io.listen()
Some cleanup
2010-05-12 12:16:44 -03:00
Guillermo Rauch
ae9e550c26 More support for disconnections 2010-04-30 08:48:17 -03:00
Guillermo Rauch
a977ecd65b Fixes for htmlfile, multipart, polling
Removed patches
Removed server events
2010-04-30 08:35:34 -03:00
Guillermo Rauch
f5796c630c OCD-related work 2010-04-30 08:10:25 -03:00
Guillermo Rauch
408b2c73f8 Fixed encoding issues for WebSocket transport 2010-04-30 08:07:57 -03:00
Guillermo Rauch
16b5de7b4f All instances of 'close' now 'end' 2010-04-30 07:04:15 -03:00
Guillermo Rauch
b65e6fa611 'tcp' is now 'net' 2010-04-30 07:01:08 -03:00
Guillermo Rauch
bf9ba8c08b Fixed encoding for WebSocket (set to utf-8 per spec)
Fixed handling of chunks sent by UA
2010-04-03 18:16:19 -07:00
Guillermo Rauch
0e5fb040a9 JSON try/catch (fixes #3) 2010-04-01 17:45:11 -07:00
Guillermo Rauch
4db40d9ecc 0.1.33 patch
Removed server check to keep compatibility with 0.1.32 (process.http is now accessed through process.binding('http'))
2010-03-23 11:03:20 -07:00
Guillermo Rauch
ff8c4f09a0 Indention fixes 2010-03-18 20:57:35 -07:00
Guillermo Rauch
d17acb6d2c Gitmodules update
Fixes for multipart, websocket, server-events
Demo update
2010-03-17 12:42:22 -07:00
Guillermo Rauch
c8edad861a Initial commit (some transports untested!) 2010-03-16 17:53:52 -07:00