diff --git a/src/js/node/_http_client.ts b/src/js/node/_http_client.ts index f01d4f4629..6e0ced4dda 100644 --- a/src/js/node/_http_client.ts +++ b/src/js/node/_http_client.ts @@ -268,7 +268,7 @@ function ClientRequest(input, options, cb) { const method = this[kMethod]; let keepalive = true; - const agentKeepalive = this[kAgent]?.keepalive; + const agentKeepalive = this[kAgent]?.keepAlive; if (agentKeepalive !== undefined) { keepalive = agentKeepalive; }