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

engine.io

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

engine.io - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

14

History.md
1.4.0 / 2014-09-03
==================
* readme: fix formatting for goals numbering
* server: ref fix by @nicokaiser
* server: fix ws memory leak (fixes #268)
* cache remote address in handshake since it might be lost later.
* correct git ref
* update client to commit with bumped parser
* package: bump parser
* npmignore: ignore `.gitignore`
* package: bump `debug`
* package: bump `engine.io-parser` for memleak fix
1.3.1 / 2014-06-19

@@ -3,0 +17,0 @@ ==================

8

lib/server.js

@@ -52,3 +52,3 @@

}
};
}

@@ -272,3 +272,3 @@ /**

Server.prototype.handleUpgrade = function(req, socket, head){
Server.prototype.handleUpgrade = function(req, socket, upgradeHead){
this.prepare(req);

@@ -283,2 +283,6 @@

var head = new Buffer(upgradeHead.length);
upgradeHead.copy(head);
upgradeHead = null;
// delegate to ws

@@ -285,0 +289,0 @@ self.ws.handleUpgrade(req, socket, head, function(conn){

@@ -29,3 +29,6 @@ /**

this.request = req;
// Cache IP since it might not be in the req later
this.remoteAddress = req.connection.remoteAddress;
this.checkIntervalTimer = null;

@@ -32,0 +35,0 @@ this.upgradeTimeoutTimer = null;

{
"name": "engine.io",
"version": "1.3.1",
"version": "1.4.0",
"description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server",

@@ -19,5 +19,5 @@ "main": "./lib/engine.io",

"dependencies": {
"debug": "0.6.0",
"debug": "1.0.3",
"ws": "0.4.31",
"engine.io-parser": "1.0.6",
"engine.io-parser": "1.1.0",
"base64id": "0.1.0"

@@ -29,3 +29,3 @@ },

"superagent": "0.15.4",
"engine.io-client": "1.3.1",
"engine.io-client": "1.4.0",
"s": "0.1.1"

@@ -32,0 +32,0 @@ },

@@ -386,3 +386,2 @@

1. **Better server performance**
- _A: Load balancers_<br>

@@ -389,0 +388,0 @@ Load balancing a long polling connection poses a serious architectural nightmare

Sorry, the diff of this file is not supported yet

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