Skip to content

Commit

Permalink
Address #464
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaosT committed Jul 2, 2017
1 parent 61fc343 commit 10f25ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/util/eventedhttp.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ function EventedHTTPServerConnection(clientSocket) {

// create our internal HTTP server for this connection that we will proxy data to and from
this._httpServer = http.createServer();

this._httpServer.timeout = 0; // clients expect to hold connections open as long as they want
this._httpServer.keepAliveTimeout = 0;
this._httpServer.on('listening', this._onHttpServerListening.bind(this));
this._httpServer.on('request', this._onHttpServerRequest.bind(this));
this._httpServer.on('error', this._onHttpServerError.bind(this));
Expand Down

0 comments on commit 10f25ef

Please sign in to comment.