Perf Issue with passing CA certs in Agent Options for HTTPS calls vs NODE_EXTRA_CA_CERTS #52549
Labels
https
Issues or PRs related to the https subsystem.
performance
Issues and PRs related to the performance of Node.js.
Version
18.x
Platform
Ubuntu, Mac
Subsystem
No response
What steps will reproduce the bug?
addCACert()
has bottleneck when HTTPS endpoint is called withhttps.agent.ca
option usinghttps
, when we switch to usingNODE_EXTRA_CA_CERTS
environment variable, we do not seeaddCACert()
bottleneck.With
agent.ca
options pointing to CA certsWith
NODE_EXTRA_CA_CERTS
env variable pointing to CA certsHow often does it reproduce? Is there a required condition?
This is introduced in Node 16.x and seen in Node 18.x & Node 20.x. For every request.
What is the expected behavior? Why is that the expected behavior?
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: