Closed
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.