Skip to content

Instantly share code, notes, and snippets.

@mranney
Created December 10, 2013 02:25
Show Gist options
  • Save mranney/7884843 to your computer and use it in GitHub Desktop.
Save mranney/7884843 to your computer and use it in GitHub Desktop.
diff --git a/http_server/http_server.js b/http_server/http_server.js
index 505efad..368083c 100644
--- a/http_server/http_server.js
+++ b/http_server/http_server.js
@@ -442,7 +442,7 @@ function HTTP_Server(options) {
if (options.proxy_proto) {
this.server_type = "proxy";
// this.server = http.Server(new_client_wrapper);
- this.server = spdy.createServer(http.Server, { plain: true }, new_client_wrapper);
+ this.server = spdy.createServer(http.Server, { plain: true, timeout: 12 * 60 * 1000 }, new_client_wrapper);
this.orig_connection_handler = this.server._events.connection; // dirty business
this.server._events.connection = function (socket) {
self.on_proxy_connection(socket);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment