steamutils 1.3.18 → 1.3.19
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -17,6 +17,7 @@ import * as cheerio from 'cheerio'
|
|
17
17
|
import fs from "fs";
|
18
18
|
import FormData from "form-data";
|
19
19
|
import {StringUtils} from "alpha-common-utils/index.js";
|
20
|
+
import * as https from "https";
|
20
21
|
|
21
22
|
const MAX_RETRY = 10
|
22
23
|
let requestTimestamp = 0
|
@@ -1656,7 +1657,7 @@ class SteamUser {
|
|
1656
1657
|
},
|
1657
1658
|
maxRedirects: 0,
|
1658
1659
|
url: redirectURL || params.url,
|
1659
|
-
httpsAgent: new https.Agent({ keepAlive: true })
|
1660
|
+
httpsAgent: new https.Agent({ keepAlive: true }),//fix bug socket hangup axios
|
1660
1661
|
}
|
1661
1662
|
|
1662
1663
|
|