Skip to content

Commit

Permalink
add keep-alive
Browse files Browse the repository at this point in the history
  • Loading branch information
artofspeed committed Apr 16, 2017
1 parent 1763e2a commit f9d2d00
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/internal/make-url-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ var https = require('https');
var parse = require('url').parse;
var version = require('../version');


// add keep-alive header to speed up request
https.globalAgent.keepAlive = true;


/**
* Makes a secure HTTP GET request for the given URL.
*
Expand Down

0 comments on commit f9d2d00

Please sign in to comment.