-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
Description
📗 http.Agent, reuse single socket vs new socket for each request
http.Agent documentation says
[…] It maintains a queue of pending requests for a given host and port, reusing a single socket connection for each until the queue is empty […]
Which is in contrast to the description of the maxSockets option
[…] Each request will use a new socket until the maximum is reached. []
So will it reuse a single socket connection or use a new socket for each request?
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.