TooTallNate / proxy-agents

Node.js HTTP Proxy Agents Monorepo
https://proxy-agents.n8.io
871 stars 229 forks source link

[agent-base] allow for https session reuse #304

Open lukekarrys opened 2 months ago

lukekarrys commented 2 months ago

agent-base exports an agent that extends http.Agent. The secureEndpoint property works to make instances almost functionally equivalent to what you would get from https.Agent (defaultPort, protocol, getName, etc).

But the core https.Agent also includes SSL session reuse which would be nice to have.

Two options I can see here: