From 9097da2341fbc3464f250311576ebffab98c56d0 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:50:25 -0800 Subject: [PATCH] Update http.js --- src/utils/proxy/http.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/proxy/http.js b/src/utils/proxy/http.js index 875bfb4c..3743515b 100644 --- a/src/utils/proxy/http.js +++ b/src/utils/proxy/http.js @@ -89,15 +89,12 @@ export async function httpProxy(url, params = {}) { request = httpsRequest(constructedUrl, { agent: new https.Agent({ rejectUnauthorized: false, - autoSelectFamily: true, }), ...params, }); } else { request = httpRequest(constructedUrl, { - agent: new http.Agent({ - autoSelectFamily: true, - }), + agent: new http.Agent(), ...params, }); }