Skip to content

Conversation

@lpinca
Copy link
Member

Do not use the 'agentRemove' event to null socket._httpMessage as
that event is public and can be used to not keep a request in the agent.

Fixes: #20690

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

Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. Fixes: nodejs#20690
@nodejs-github-botnodejs-github-bot added the http Issues or PRs related to the http subsystem. label May 16, 2018
@lpinca
Copy link
MemberAuthor

@apapirovski
Copy link
Contributor

Landed in 4a940aa

apapirovski pushed a commit that referenced this pull request May 22, 2018
Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. PR-URL: #20786Fixes: #20690 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
@lpincalpinca deleted the gh-20690 branch May 22, 2018 08:14
MylesBorins pushed a commit that referenced this pull request May 22, 2018
Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. PR-URL: #20786Fixes: #20690 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
@addaleaxaddaleax mentioned this pull request May 22, 2018
MylesBorins pushed a commit that referenced this pull request May 23, 2018
Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. PR-URL: #20786Fixes: #20690 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
@lpincalpinca mentioned this pull request Jul 8, 2018
@MylesBorins
Copy link
Contributor

hey @lpinca would you be able to manually backport to 8.x? 6.x is in maintenance mode, so unless this qualifies as an experience breaking bug it isn't likely to land as a fix

@lpinca
Copy link
MemberAuthor

@MylesBorins yes, will do. For 6.x see #20690 (comment) not sure if that qualifies as qualifies as an "experience breaking bug".

MylesBorins pushed a commit that referenced this pull request Jul 13, 2018
Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. Backport-PR-URL: #20786 PR-URL: #20786Fixes: #20690 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
rvagg pushed a commit that referenced this pull request Aug 16, 2018
Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. Backport-PR-URL: #20786 PR-URL: #20786Fixes: #20690 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
abhishekumar-tyagi pushed a commit to abhishekumar-tyagi/node that referenced this pull request May 5, 2024
Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. PR-URL: nodejs/node#20786Fixes: nodejs/node#20690 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

httpIssues or PRs related to the http subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot read property 'emit' of null in _http_client.js

7 participants

@lpinca@apapirovski@MylesBorins@jasnell@BridgeAR@trivikr@nodejs-github-bot