-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: Fix invalid write after end error #36043
Conversation
Review requested:
|
Don't error if not ended. Fixes: nodejs#36029
4c50922
to
1f73c8a
Compare
Co-authored-by: Antoine du Hamel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Should this be backported to v14 or v12?
that's semver-major, so no. |
Thanks @mscdex! |
The test-stream-transform-end.js test file added here is timing out in GitHub CI. |
61d67ad
to
a0ea1b0
Compare
Commit Queue failed- Loading data for nodejs/node/pull/36043 ✔ Done loading data for nodejs/node/pull/36043 ----------------------------------- PR info ------------------------------------ Title net: Fix invalid write after end error (#36043) Author Robert Nagy (@ronag) Branch ronag:net-write-after-end-no-half-open -> nodejs:master Labels author ready, dont-land-on-v10.x, dont-land-on-v12.x, dont-land-on-v14.x, net Commits 8 - net: Fix invalid write after end error - fixup - Update lib/net.js - fixup - fixup - fixup - fixup - fixup Committers 2 - Robert Nagy - GitHub PR-URL: https://github.com/nodejs/node/pull/36043 Fixes: https://github.com/nodejs/node/issues/36029 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36043 Fixes: https://github.com/nodejs/node/issues/36029 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - fixup ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-11-10T10:34:15Z: https://ci.nodejs.org/job/node-test-pull-request/34279/ - Querying data for job/node-test-pull-request/34279/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sun, 08 Nov 2020 18:57:57 GMT ✔ Approvals: 2 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/36043#pullrequestreview-525942020 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/36043#pullrequestreview-526614630 ✖ This PR needs to wait 1 more hours to land -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu Commit Queue action: https://github.com/nodejs/node/actions/runs/356263944 |
Commit Queue failed- Loading data for nodejs/node/pull/36043 ✔ Done loading data for nodejs/node/pull/36043 ----------------------------------- PR info ------------------------------------ Title net: Fix invalid write after end error (#36043) Author Robert Nagy (@ronag) Branch ronag:net-write-after-end-no-half-open -> nodejs:master Labels author ready, commit-queue, dont-land-on-v10.x, dont-land-on-v12.x, dont-land-on-v14.x, net Commits 8 - net: Fix invalid write after end error - fixup - Update lib/net.js - fixup - fixup - fixup - fixup - fixup Committers 2 - Robert Nagy - GitHub PR-URL: https://github.com/nodejs/node/pull/36043 Fixes: https://github.com/nodejs/node/issues/36029 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36043 Fixes: https://github.com/nodejs/node/issues/36029 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - fixup ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-11-10T17:01:28Z: https://ci.nodejs.org/job/node-test-pull-request/34279/ - Querying data for job/node-test-pull-request/34279/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sun, 08 Nov 2020 18:57:57 GMT ✔ Approvals: 2 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/36043#pullrequestreview-525942020 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/36043#pullrequestreview-526614630 -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu Commit Queue action: https://github.com/nodejs/node/actions/runs/356556511 |
Landed in f7f0a6a |
Don't error if not ended. Fixes: #36029 PR-URL: #36043 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Don't error if not ended. Fixes: #36029 PR-URL: #36043 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Don't error if not ended.
Fixes: #36029
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes