-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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: add support for finished after .destroy() #36635
Conversation
@nodejs/net @nodejs/streams |
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
Commit Queue failed- Loading data for nodejs/node/pull/36635 ✔ Done loading data for nodejs/node/pull/36635 ----------------------------------- PR info ------------------------------------ Title net: add support for finished after .destroy() (#36635) Author Robert Nagy (@ronag) Branch ronag:net-finished -> nodejs:master Labels author ready, dont-land-on-v10.x, dont-land-on-v12.x, http, net, stream Commits 4 - net: add support for finished after .destroy() - fixup - Update lib/internal/streams/end-of-stream.js - Update test/parallel/test-net-finished.js Committers 2 - Robert Nagy - GitHub PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-12-26T16:03:40Z: https://ci.nodejs.org/job/node-test-pull-request/35087/ - Querying data for job/node-test-pull-request/35087/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sat, 26 Dec 2020 13:42:02 GMT ✔ Approvals: 4 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558878340 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/36635#pullrequestreview-558882856 ✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/36635#pullrequestreview-558893180 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558935403 ✖ This PR needs to wait 7 more hours to land -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/448230565 |
Commit Queue failed- Loading data for nodejs/node/pull/36635 ✔ Done loading data for nodejs/node/pull/36635 ----------------------------------- PR info ------------------------------------ Title net: add support for finished after .destroy() (#36635) Author Robert Nagy (@ronag) Branch ronag:net-finished -> nodejs:master Labels author ready, dont-land-on-v10.x, dont-land-on-v12.x, http, net, stream Commits 1 - net: add support for finished after .destroy() Committers 1 - Robert Nagy PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36635 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - net: add support for finished after .destroy() ✖ GitHub CI is still running ℹ Last Full PR CI on 2020-12-30T15:28:27Z: https://ci.nodejs.org/job/node-test-pull-request/35087/ ⚠ Commits were pushed after the last Full PR CI run: ⚠ - net: add support for finished after .destroy() - Querying data for job/node-test-pull-request/35087/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sat, 26 Dec 2020 13:42:02 GMT ✔ Approvals: 4 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558878340 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/36635#pullrequestreview-558882856 ✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/36635#pullrequestreview-558893180 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/36635#pullrequestreview-558935403 -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/453124569 |
@Trott Would you mind help landing this? At the moment I am unable to land PR's and the bots don't seem to work. |
Landed in 2da3611 |
Calling `finished(socket, cb)` would previously not invoked the callback if the socket was already detroyed. PR-URL: #36635 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
hey @ronag this doesn't land cleanly on v15.x. Would you be able to backport? |
Adding don't land labels for all current branches as this was reverted from master |
Calling
finished(socket, cb)
would previously notinvoked the callback if the socket was already detroyed.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes