Skip to content

Commit

Permalink
set agent max listeners to infinite
Browse files Browse the repository at this point in the history
  • Loading branch information
felicienfrancois committed Feb 24, 2016
1 parent 61c9356 commit b5546f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/http.js
Expand Up @@ -856,6 +856,7 @@ function getTLS(options, callback) {

function Agent(options) {
EventEmitter.call(this);
this.setMaxListeners(0);

options = util._extend({}, options);

Expand Down

0 comments on commit b5546f4

Please sign in to comment.