socket.io
Advanced tools
Comparing version 0.6.14 to 0.6.15
0.6.15 / 2011-02-23 | ||
=================== | ||
* Fixed memory leak in WebSocket transport [belorion] | ||
0.6.14 / 2011-02-18 | ||
@@ -3,0 +8,0 @@ =================== |
@@ -26,2 +26,2 @@ | ||
exports.version = '0.6.14'; | ||
exports.version = '0.6.15'; |
@@ -102,4 +102,5 @@ var Client = require('../client') | ||
this.connection.addListener('data', function(data){ | ||
self.buffer += data; | ||
if (self.waitingForNonce) { | ||
self.buffer += data; | ||
if (self.buffer.length < 8) { return; } | ||
@@ -111,6 +112,3 @@ // Restore the connection to utf8 encoding after receiving the nonce | ||
self.upgradeHead = self.buffer.substr(0,8); | ||
self.buffer = self.buffer.substr(8); | ||
if (self.buffer.length > 0) { | ||
self.parser.add(self.buffer); | ||
} | ||
self.buffer = ''; | ||
if (self._proveReception(self._headers)) { self._payload(); } | ||
@@ -117,0 +115,0 @@ return; |
{ "name" : "socket.io" | ||
, "description" : "The cross-browser WebSocket" | ||
, "version" : "0.6.14" | ||
, "version" : "0.6.15" | ||
, "author" : "LearnBoost" | ||
@@ -5,0 +5,0 @@ , "licenses" : |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8183400
15180