From b1c772d9b92735cfcfde7575264ca8fa85abe6a1 Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Sat, 11 Feb 2017 22:28:22 -0500 Subject: [PATCH] Keep HTTP connections open between requests --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9077823..e111cdf 100644 --- a/index.js +++ b/index.js @@ -45,7 +45,7 @@ function SteamCommunity(options) { defaults.localAddress = options.localAddress; } - this.request = options.request || Request.defaults(); + this.request = options.request || Request.defaults({"forever": true}); // "forever" indicates that we want a keep-alive agent this.request = this.request.defaults(defaults); // English