Skip to content

http2: compat support for nested array headers - #24665

Closed
sebdeckers wants to merge 1 commit into
nodejs:masterfrom
sebdeckers:h2-response-writehead-array
Closed

http2: compat support for nested array headers#24665
sebdeckers wants to merge 1 commit into
nodejs:masterfrom
sebdeckers:h2-response-writehead-array

Conversation

@sebdeckers

Copy link
Copy Markdown
Contributor

writeHead supports an array of arrays containing header name and values.

Compatibility between http2 & http1 even though this is not documented.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

writeHead supports an array of arrays containing header name and values.
Compatibility between http2 & http1 even though this is not documented.
Fixes: nodejs#24466
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@sebdeckers sadly an error occured when I tried to trigger a build :(

@nodejs-github-botnodejs-github-bot added dont-land-on-v6.x http2 Issues or PRs related to the http2 subsystem. labels Nov 27, 2018
Comment threadlib/internal/http2/compat.js
Comment threadlib/internal/http2/compat.js
@Trott

Copy link
Copy Markdown
Member

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 29, 2018
@sebdeckers

Copy link
Copy Markdown
ContributorAuthor

@Trott What does that CI failure mean? I don't see how it relates to the patch.

AssertionError [ERR_ASSERTION]: bootstrapComplete: 1136.0168499946594 >= 1111
at checkNodeTiming (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos17-64/test/sequential/test-performance.js:92:7)

@jasnell

Copy link
Copy Markdown
Member

That's likely an unrelated flaky failure but we can run again to verify

@Trott

Copy link
Copy Markdown
Member

@Trott

Copy link
Copy Markdown
Member

Once more but with feeling: https://ci.nodejs.org/job/node-test-pull-request/19061/

@Trott

Copy link
Copy Markdown
Member

Landed in 5dacbf5

@TrottTrott closed this Nov 29, 2018
Trott pushed a commit to Trott/io.js that referenced this pull request Nov 29, 2018
writeHead supports an array of arrays containing header name and values.
Compatibility between http2 & http1 even though this is not documented.
Fixes: nodejs#24466
PR-URL: nodejs#24665
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos pushed a commit that referenced this pull request Nov 29, 2018
writeHead supports an array of arrays containing header name and values.
Compatibility between http2 & http1 even though this is not documented.
Fixes: #24466
PR-URL: #24665
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@sebdeckers

Copy link
Copy Markdown
ContributorAuthor

Thanks for the help, @Trott and everyone who reviewed/commented. 🙇🏻‍♂️

@BridgeARBridgeAR mentioned this pull request Dec 5, 2018
4 tasks
refack pushed a commit to refack/node that referenced this pull request Jan 14, 2019
writeHead supports an array of arrays containing header name and values.
Compatibility between http2 & http1 even though this is not documented.
Fixes: nodejs#24466
PR-URL: nodejs#24665
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
BethGriggs pushed a commit that referenced this pull request Feb 12, 2019
writeHead supports an array of arrays containing header name and values.
Compatibility between http2 & http1 even though this is not documented.
Fixes: #24466
PR-URL: #24665
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Feb 12, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
writeHead supports an array of arrays containing header name and values.
Compatibility between http2 & http1 even though this is not documented.
Fixes: #24466
PR-URL: #24665
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.http2Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@sebdeckers@nodejs-github-bot@Trott@jasnell@fhinkel@leeight@addaleax@lpinca@cjihrig