Socket
Socket
Sign inDemoInstall

faye-websocket

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

5

CHANGELOG.txt

@@ -0,1 +1,6 @@

=== 0.3.1 / 2012-01-16
* Call setNoDelay(true) on net.Socket objects to reduce latency
=== 0.3.0 / 2012-01-13

@@ -2,0 +7,0 @@

3

lib/faye/eventsource.js

@@ -22,2 +22,5 @@ var API = require('./websocket/api'),

this._stream.setTimeout(0);
this._stream.setNoDelay(true);
var scheme = isSecureConnection(request) ? 'https:' : 'http:';

@@ -24,0 +27,0 @@ this.url = scheme + '//' + request.headers.host + request.url;

@@ -38,2 +38,5 @@ // API and protocol references:

this._stream.setTimeout(0);
this._stream.setNoDelay(true);
var scheme = isSecureConnection(request) ? 'wss:' : 'ws:';

@@ -40,0 +43,0 @@ this.url = scheme + '//' + request.headers.host + request.url;

@@ -27,2 +27,5 @@ var net = require('net'),

this._stream.setTimeout(0);
this._stream.setNoDelay(true);
if (!secure) connection.addListener('connect', onConnect);

@@ -29,0 +32,0 @@

2

package.json

@@ -7,3 +7,3 @@ { "name" : "faye-websocket"

, "version" : "0.3.0"
, "version" : "0.3.1"
, "engines" : {"node": ">=0.4.0"}

@@ -10,0 +10,0 @@ , "main" : "./lib/faye/websocket"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc