egg-http-proxy icon indicating copy to clipboard operation
egg-http-proxy copied to clipboard

feat: add httpsAgent config for keepalive on https request

Open ErosZy opened this issue 1 year ago • 0 comments

Checklist
  • [x] npm test passes
  • [ ] tests and/or benchmarks are included
  • [ ] documentation is changed or added
  • [ ] commit message follows commit guidelines
Affected core subsystem(s)

add httpsAgent for keepalive requesting

Description of change

according to the doc of egg, we should use httpsAgent to disable the https keepalive, the agent field only set the http keepalive configuration. https://www.eggjs.org/zh-CN/core/httpclient#httpsagent-httpsagent

image

ErosZy avatar Dec 11 '23 11:12 ErosZy