Created
December 10, 2013 02:25
-
-
Save mranney/7884843 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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