Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

socket.io

Package Overview
Dependencies
Maintainers
0
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket.io - npm Package Compare versions

Comparing version 0.6.14 to 0.6.15

5

History.md
0.6.15 / 2011-02-23
===================
* Fixed memory leak in WebSocket transport [belorion]
0.6.14 / 2011-02-18

@@ -3,0 +8,0 @@ ===================

2

lib/socket.io/index.js

@@ -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" :

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc