summaryrefslogtreecommitdiff
path: root/lib/https.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/https.js')
-rw-r--r--lib/https.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/https.js b/lib/https.js
index 335825a381..4a83853d07 100644
--- a/lib/https.js
+++ b/lib/https.js
@@ -150,6 +150,7 @@ function Agent(options) {
};
}
Object.setPrototypeOf(Agent.prototype, HttpAgent.prototype);
+Object.setPrototypeOf(Agent, HttpAgent);
Agent.prototype.createConnection = createConnection;
Agent.prototype.getName = function getName(options) {