Skip to content

doc: documentation should mention that maxFreeSockets is per host #40446

Description

@snytkine

📗 API Reference Docs Problem

  • Version: ✍️16
  • Platform: ✍️MacOS
  • Subsystem: ✍️http

Location

Section of the site where the content exists

Affected URL(s):

Description

Concise explanation of the problem

✍️
Currently documentation says:
maxFreeSockets Maximum number of sockets to leave open in a free state.
But after lookin at the source code in _http_agent.js it looks to me that maxFreeSockets is the maximum number of free sockets per host, similar how maxSockets number is per host.


  • I would like to work on this issue and
    submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.httpIssues and PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions