GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — http: add test case for req-res close ordering by dnlup · Pull Request #36645 · nodejs/node Conversation
Contributor
Since the PR #33035 has changed the ordering of the close event, add a test case. As @kanongil pointed out, The test should catch eventual regressions, but let's also use this as a point for discussing this behavior further, if needed. Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Trott
reviewed
Uh oh!
There was an error while loading. Please reload this page.
Trott
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM if all the added tests pass reliably.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
ronag
approved these changes
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
mcollina
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lgtm
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
dnlup
force-pushed
the
fix/regression_test_http_incoming
branch
from
37662dd to
b415015
Compare
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
dnlup
force-pushed
the
fix/regression_test_http_incoming
branch
from
b415015 to
5b2c944
Compare
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
I did the analysis for hapi and can elaborate. Hapi adds a The specific ordering of the Note that for hapi I tried to change this to listen on the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thank you @kanongil for the analysis. It was very helpful. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@kanongil could you confirm that there is no significant issue with that change shipping in Node.js v16? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I can't see on https://ci.nodejs.org/ why those 3 jobs are failing, unfortunately. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Commit Queue failed- Loading data for nodejs/node/pull/36645 ✔ Done loading data for nodejs/node/pull/36645 ----------------------------------- PR info ------------------------------------ Title http: add test case for req-res close ordering (#36645) Author Daniele Belardi (@dnlup) Branch dnlup:fix/regression_test_http_incoming -> nodejs:master Labels author ready, test Commits 1 - http: add test case for req-res close ordering Committers 1 - Daniele Belardi PR-URL: https://github.com/nodejs/node/pull/36645 Reviewed-By: Rich Trott Reviewed-By: Robert Nagy Reviewed-By: Matteo Collina ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36645 Reviewed-By: Rich Trott Reviewed-By: Robert Nagy Reviewed-By: Matteo Collina -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - http: add test case for req-res close ordering ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2021-01-04T21:19:02Z: https://ci.nodejs.org/job/node-test-pull-request/35251/ - Querying data for job/node-test-pull-request/35251/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sun, 27 Dec 2020 18:06:44 GMT ✔ Approvals: 3 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/36645#pullrequestreview-558953069 ✔ - Robert Nagy (@ronag): https://github.com/nodejs/node/pull/36645#pullrequestreview-558953108 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/36645#pullrequestreview-558962536 -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/463731724 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Since 55e83cb has changed the ordering of the close event, add a test case. IncomingMessage will emit close before the response is sent in case the server is consuming data from it. Refs: nodejs#33035 (comment) PR-URL: nodejs#36645 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
5b2c944 to
ddac3bd
Compare
|
Landed in ddac3bd |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Since 55e83cb has changed the ordering of the close event, add a test case. IncomingMessage will emit close before the response is sent in case the server is consuming data from it. Refs: #33035 (comment) PR-URL: #36645 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.