Skip to content

[v12.x] http: add maxTotalSockets to agent class

Add maxTotalSockets to determine how many sockets an agent can open. Unlike maxSockets, The maxTotalSockets does not count by per origin.

PR-URL: nodejs#33617 PR-URL: nodejs#34013 Fixes: nodejs#31942 Reviewed-By: @ronag Reviewed-By: @mcollina Reviewed-By: @jasnell

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading