From ac326c34d50c5c5ed1ee4cbfab9f9f0f63efd307 Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Mon, 29 Jan 2018 12:28:18 +0100 Subject: [PATCH] Add defaultPort to the Agent --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 69985780..82374759 100644 --- a/index.js +++ b/index.js @@ -56,6 +56,7 @@ function HttpsProxyAgent(opts) { } this.proxy = proxy; + this.defaultPort = 443; } inherits(HttpsProxyAgent, Agent);