diff options
Diffstat (limited to 'ext/node')
-rw-r--r-- | ext/node/polyfills/http.ts | 2 | ||||
-rw-r--r-- | ext/node/polyfills/https.ts | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts index 78bd7cb07..4ad502760 100644 --- a/ext/node/polyfills/http.ts +++ b/ext/node/polyfills/http.ts @@ -1764,6 +1764,7 @@ export function get(...args: any[]) { export { Agent, ClientRequest, + globalAgent, IncomingMessageForServer as IncomingMessage, METHODS, OutgoingMessage, @@ -1771,6 +1772,7 @@ export { }; export default { Agent, + globalAgent, ClientRequest, STATUS_CODES, METHODS, diff --git a/ext/node/polyfills/https.ts b/ext/node/polyfills/https.ts index 46d4bd087..6cd42f035 100644 --- a/ext/node/polyfills/https.ts +++ b/ext/node/polyfills/https.ts @@ -104,7 +104,7 @@ export class Agent extends HttpAgent { } } -const globalAgent = new Agent({ +export const globalAgent = new Agent({ keepAlive: true, scheduling: "lifo", timeout: 5000, |