fix(proxy): configure proxy agent connection limits and IPv4 support (#2303)
* fix: configure axios proxy agent socket limits to prevent connection leaks Add socket pool configuration to HttpProxyAgent and HttpsProxyAgent to prevent connection leaks. fix #2297 * fix(proxy): pass forceIpv4First option to custom proxy agent * fix(proxy): add connection limits and IPv4 support to undici agents
This commit is contained in:
@@ -97,7 +97,10 @@ app
|
||||
|
||||
// Register HTTP proxy
|
||||
if (settings.network.proxy.enabled) {
|
||||
await createCustomProxyAgent(settings.network.proxy);
|
||||
await createCustomProxyAgent(
|
||||
settings.network.proxy,
|
||||
settings.network.forceIpv4First
|
||||
);
|
||||
}
|
||||
|
||||
// Migrate library types
|
||||
|
||||
Reference in New Issue
Block a user