diff options
Diffstat (limited to 'lib/_http_agent.js')
-rw-r--r-- | lib/_http_agent.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/_http_agent.js b/lib/_http_agent.js index c90955bf0e..ac482bcfea 100644 --- a/lib/_http_agent.js +++ b/lib/_http_agent.js @@ -106,6 +106,7 @@ function Agent(options) { }); } Object.setPrototypeOf(Agent.prototype, EventEmitter.prototype); +Object.setPrototypeOf(Agent, EventEmitter); Agent.defaultMaxSockets = Infinity; |