-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
Description
- Version: 8.0.0
- Platform: Linux x64
We deployed Node 8.0 on our servers, but found an error when a large number of concurrent requests came.
Stack:
TypeError: Cannot read property 'asyncReset' of null
at Agent.addRequest (_http_agent.js:170:19)
at new ClientRequest (_http_client.js:271:16)
at Object.request (http.js:39:10)
I checked the source file _http_agent.js
. Line 170 is socket._handle.asyncReset();
. I think it's better to check whehter socket._handle
is null before use.
Metadata
Metadata
Assignees
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.