summaryrefslogtreecommitdiff
path: root/lib/https.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/https.js')
-rw-r--r--lib/https.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/https.js b/lib/https.js
index 000590a76d..fe329ec76e 100644
--- a/lib/https.js
+++ b/lib/https.js
@@ -43,12 +43,13 @@ function Server(opts, requestListener) {
this.addListener('clientError', function(err, conn) {
conn.destroy(err);
});
+
+ this.timeout = 2 * 60 * 1000;
}
inherits(Server, tls.Server);
-
-
exports.Server = Server;
+Server.prototype.setTimeout = http.Server.prototype.setTimeout;
exports.createServer = function(opts, requestListener) {
return new Server(opts, requestListener);