Skip to content

Commit

Permalink
Eliminate timeout on WebSocket connections
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Jul 1, 2011
1 parent a8cfb1d commit fc2cfde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ws-jsgi.js
Expand Up @@ -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(){}
Expand Down

0 comments on commit fc2cfde

Please sign in to comment.