Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
http2: improve tests and docs#42858
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
http2: improve tests and docs #42858
Uh oh!
There was an error while loading. Please reload this page.
Conversation
daeyeon commented Apr 25, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented Apr 25, 2022
Review requested:
|
870e7a5 to 31dd9d6Compare31dd9d6 to eda399aCompareUh oh!
There was an error while loading. Please reload this page.
mcollina left a comment
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
ShogunPanda left a comment
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!
RafaelGSS left a comment
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.
4ba9b20 to f5120d0Comparedaeyeon commented May 14, 2022
@mcollina@ShogunPanda@RafaelGSS This PR needs a Jenkins CI test, doesn't it? Can someone get it started? Thank you! |
nodejs-github-bot commented May 14, 2022
daeyeon commented May 18, 2022
Need a rerun of the Jenkins CI. The failures are seemingly unrelated to this PR. |
nodejs-github-bot commented May 18, 2022
nodejs-github-bot commented May 23, 2022
daeyeon commented May 24, 2022
Pls help me re-run the CI.
|
nodejs-github-bot commented May 24, 2022
nodejs-github-bot commented May 24, 2022
Commit Queue failed- Loading data for nodejs/node/pull/42858 ✔ Done loading data for nodejs/node/pull/42858 ----------------------------------- PR info ------------------------------------ Title http2: improve tests and docs (#42858) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch daeyeon:master.doc-220425.Mon.5754 -> nodejs:master Labels doc, http2, commit-queue-squash Commits 3 - http2: improve tests and docs - fix: add client.on('error') and drop :status - test: update test-http2-server-sessionerror.js Committers 1 - Daeyeon Jeong PR-URL: https://github.com/nodejs/node/pull/42858 Reviewed-By: Matteo Collina Reviewed-By: Paolo Insogna Reviewed-By: Rafael Gonzaga ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/42858 Reviewed-By: Matteo Collina Reviewed-By: Paolo Insogna Reviewed-By: Rafael Gonzaga -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - http2: improve tests and docs ⚠ - fix: add client.on('error') and drop :status ⚠ - test: update test-http2-server-sessionerror.js ℹ This PR was created on Mon, 25 Apr 2022 02:42:16 GMT ✔ Approvals: 3 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/42858#pullrequestreview-952377018 ✔ - Paolo Insogna (@ShogunPanda): https://github.com/nodejs/node/pull/42858#pullrequestreview-953188072 ✔ - Rafael Gonzaga (@RafaelGSS): https://github.com/nodejs/node/pull/42858#pullrequestreview-953315250 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-05-24T07:42:37Z: https://ci.nodejs.org/job/node-test-pull-request/44145/ - Querying data for job/node-test-pull-request/44145/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/2377372947 |
mcollina left a comment
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
nodejs-github-bot commented May 24, 2022
Landed in 714e2d7 |
daeyeon commented May 24, 2022
Thanks!! @mcollina@RafaelGSS@ShogunPanda |
This commit documents the event parameters and `http2stream.respond`, and adds some tests to ensure the actual behaviors are aligned with the docs. Testing the 'Http2Server.sessionError' event is added by updating `test/parallel/test-http2-options-max-headers-exceeds-nghttp2.js`. The event seemingly has not been tested so far. `ServerHttp2Session` is exported to validate the `session` event and the `sessionError` event. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: #42858 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
This commit documents the event parameters and `http2stream.respond`, and adds some tests to ensure the actual behaviors are aligned with the docs. Testing the 'Http2Server.sessionError' event is added by updating `test/parallel/test-http2-options-max-headers-exceeds-nghttp2.js`. The event seemingly has not been tested so far. `ServerHttp2Session` is exported to validate the `session` event and the `sessionError` event. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: #42858 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
This commit documents the event parameters and `http2stream.respond`, and adds some tests to ensure the actual behaviors are aligned with the docs. Testing the 'Http2Server.sessionError' event is added by updating `test/parallel/test-http2-options-max-headers-exceeds-nghttp2.js`. The event seemingly has not been tested so far. `ServerHttp2Session` is exported to validate the `session` event and the `sessionError` event. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: #42858 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
This commit documents the event parameters and `http2stream.respond`, and adds some tests to ensure the actual behaviors are aligned with the docs. Testing the 'Http2Server.sessionError' event is added by updating `test/parallel/test-http2-options-max-headers-exceeds-nghttp2.js`. The event seemingly has not been tested so far. `ServerHttp2Session` is exported to validate the `session` event and the `sessionError` event. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: #42858 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
This commit documents the event parameters and `http2stream.respond`, and adds some tests to ensure the actual behaviors are aligned with the docs. Testing the 'Http2Server.sessionError' event is added by updating `test/parallel/test-http2-options-max-headers-exceeds-nghttp2.js`. The event seemingly has not been tested so far. `ServerHttp2Session` is exported to validate the `session` event and the `sessionError` event. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs/node#42858 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
This commit documents the event parameters and
http2stream.respond, andadds some tests to ensure the actual behaviors are aligned with the docs.
Testing the
Http2Server.sessionErrorevent is added by updatingtest/parallel/test-http2-options-max-headers-exceeds-nghttp2.js.The event seemingly has not been tested so far.
ServerHttp2Sessionis exported to validate thesessionevent and thesessionErrorevent.