Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Eliminate timeout on WebSocket connections

  • Loading branch information...
commit fc2cfdec0aab23a43e05eb4b37cd3a80fec17374 1 parent a8cfb1d
Kris Zyp authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/ws-jsgi.js
1  lib/ws-jsgi.js
@@ -4,6 +4,7 @@ var when = require("./promise").when,
4 4
 
5 5
 module.exports = function(socketServer, jsgiApp){
6 6
 	socketServer.on("connection", function(connection){
  7
+		connection._req.connection.setTimeout(0);
7 8
 		function Request(){}
8 9
 		Request.prototype = new NodeRequest(connection._req);
9 10
 		function Headers(){}

0 notes on commit fc2cfde

Please sign in to comment.
Something went wrong with that request. Please try again.