Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Eliminate timeout on WebSocket connections

  • Loading branch information...
commit fc2cfdec0aab23a43e05eb4b37cd3a80fec17374 1 parent a8cfb1d
@kriszyp kriszyp authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/ws-jsgi.js
View
1  lib/ws-jsgi.js
@@ -4,6 +4,7 @@ var when = require("./promise").when,
module.exports = function(socketServer, jsgiApp){
socketServer.on("connection", function(connection){
+ connection._req.connection.setTimeout(0);
function Request(){}
Request.prototype = new NodeRequest(connection._req);
function Headers(){}
Please sign in to comment.
Something went wrong with that request. Please try again.