mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-12 08:27:57 -05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b306cc77d7 | ||
|
|
ba70be4e0b |
@@ -1,4 +1,11 @@
|
||||
|
||||
0.6.6 / 2011-01-09
|
||||
==================
|
||||
|
||||
* Note for Flash socket and inline policy on Firefox
|
||||
* Destroy the fds on disconnect
|
||||
* Restored 20 secs of polling so that node doesn't timeout the connections
|
||||
|
||||
0.6.5 / 2011-01-09
|
||||
==================
|
||||
|
||||
|
||||
@@ -147,6 +147,7 @@ Client.prototype._onDisconnect = function(){
|
||||
if (this._disconnectTimeout) clearTimeout(this._disconnectTimeout);
|
||||
if (this.connection){
|
||||
this.connection.end();
|
||||
this.connection.destroy();
|
||||
this.connection = null;
|
||||
}
|
||||
this._writeQueue = [];
|
||||
|
||||
@@ -42,10 +42,11 @@ Flashsocket.init = function(listener){
|
||||
netserver.listen(843);
|
||||
} catch(e){
|
||||
if (e.errno == 13)
|
||||
listener.options.log('Your node instance does not have root privileges.'
|
||||
listener.options.log('Your node instance does not have root privileges. '
|
||||
+ 'This means that the flash XML policy file will be '
|
||||
+ 'served inline instead of on port 843. This will slow '
|
||||
+ 'down initial connections slightly.');
|
||||
+ 'down initial connections slightly. NOTE: this fails '
|
||||
+ 'with Firefox 4 betas.');
|
||||
netserver = null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,13 +12,12 @@ Polling.prototype.getOptions = function(){
|
||||
return {
|
||||
timeout: null, // no heartbeats
|
||||
closeTimeout: 8000,
|
||||
duration: 50000
|
||||
duration: 20000
|
||||
};
|
||||
};
|
||||
|
||||
Polling.prototype._onConnect = function(req, res){
|
||||
var self = this, body = '';
|
||||
|
||||
switch (req.method){
|
||||
case 'GET':
|
||||
Client.prototype._onConnect.apply(this, [req, res]);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ "name" : "socket.io"
|
||||
, "description" : "The cross-browser WebSocket"
|
||||
, "version" : "0.6.5"
|
||||
, "version" : "0.6.6"
|
||||
, "author" : "LearnBoost"
|
||||
, "licenses" :
|
||||
[ { "type" : "MIT"
|
||||
|
||||
Reference in New Issue
Block a user