Skip to content

Revert "http: do not leak error listeners" - #44921

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
lpinca:revert/736a7d8
Oct 12, 2022
Merged

Revert "http: do not leak error listeners"#44921
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
lpinca:revert/736a7d8

Conversation

@lpinca

@lpincalpinca commented Oct 8, 2022

Copy link
Copy Markdown
Member

This reverts commit 736a7d8.

The patch attempted to fix an issue, signaled by a warning, caused by an invalid API usage. However it introduced a behavior change that is breaking userland modules.

It is a user error, so restore the original behavior and have the user investigate and fix the issue in their code.

Refs: #43587 (comment)
Refs: #43587 (comment)

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-botnodejs-github-bot added http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run. labels Oct 8, 2022
This reverts commit 736a7d8.
The patch attempted to fix an issue, signaled by a warning, caused by
an invalid API usage. However it introduced a behavior change that is
breaking userland modules.
It is a user error, so restore the original behavior and have the user
investigate and fix the issue in their code.
Refs: nodejs#43587 (comment)
Refs: nodejs#43587 (comment)

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina

Copy link
Copy Markdown
Member

It might be better to add a test that document this.

@lpinca

lpinca commented Oct 8, 2022

Copy link
Copy Markdown
MemberAuthor

It might be better to add a test that document this.

Ok, but in a follow up PR, possibly. This is only a revert.

bnb
bnb approved these changes Oct 10, 2022
@lpincalpinca mentioned this pull request Oct 11, 2022
@lpincalpinca added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 11, 2022
@nodejs-github-botnodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Oct 11, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/44921
✔ Done loading data for nodejs/node/pull/44921
----------------------------------- PR info ------------------------------------
Title Revert "http: do not leak error listeners" (#44921)
⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch lpinca:revert/736a7d8 -> nodejs:main
Labels http, needs-ci
Commits 1
- Revert "http: do not leak error listeners"
Committers 1
- Luigi Pinca PR-URL: https://github.com/nodejs/node/pull/44921
Reviewed-By: Matteo Collina Reviewed-By: Robert Nagy Reviewed-By: Colin Ihrig Reviewed-By: Beth Griggs Reviewed-By: Tierney Cyren ------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/44921
Reviewed-By: Matteo Collina Reviewed-By: Robert Nagy Reviewed-By: Colin Ihrig Reviewed-By: Beth Griggs Reviewed-By: Tierney Cyren --------------------------------------------------------------------------------
ℹ This PR was created on Sat, 08 Oct 2022 05:49:52 GMT
✔ Approvals: 5
✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/44921#pullrequestreview-1135185005
✔ - Robert Nagy (@ronag) (TSC): https://github.com/nodejs/node/pull/44921#pullrequestreview-1135192504
✔ - Colin Ihrig (@cjihrig) (TSC): https://github.com/nodejs/node/pull/44921#pullrequestreview-1135251333
✔ - Beth Griggs (@BethGriggs) (TSC): https://github.com/nodejs/node/pull/44921#pullrequestreview-1135400540
✔ - Tierney Cyren (@bnb): https://github.com/nodejs/node/pull/44921#pullrequestreview-1136569280
✔ Last GitHub CI successful
✖ No Jenkins CI runs detected
--------------------------------------------------------------------------------
✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3229727303

@lpincalpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 11, 2022
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 11, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@lpincalpinca added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 12, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 12, 2022
@nodejs-github-bot
nodejs-github-bot merged commit 7c06eab into nodejs:mainOct 12, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 7c06eab

danielleadams pushed a commit that referenced this pull request Dec 30, 2022
This reverts commit 736a7d8.
The patch attempted to fix an issue, signaled by a warning, caused by
an invalid API usage. However it introduced a behavior change that is
breaking userland modules.
It is a user error, so restore the original behavior and have the user
investigate and fix the issue in their code.
Refs: #43587 (comment)
Refs: #43587 (comment)
PR-URL: #44921
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
This reverts commit 736a7d8.
The patch attempted to fix an issue, signaled by a warning, caused by
an invalid API usage. However it introduced a behavior change that is
breaking userland modules.
It is a user error, so restore the original behavior and have the user
investigate and fix the issue in their code.
Refs: #43587 (comment)
Refs: #43587 (comment)
PR-URL: #44921
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-failedAn error occurred while landing this pull request using GitHub Actions.httpIssues or PRs related to the http subsystem.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@lpinca@nodejs-github-bot@mcollina@bnb@cjihrig@ronag@BethGriggs