[8.x] Backport http2 changes from 10.x#22850
[8.x] Backport http2 changes from 10.x#22850kjin wants to merge 67 commits intonodejs:v8.x-stagingfrom
Conversation
|
Good work! I've tagged this as semver-minor because it adds a new feature to http as well. |
|
Very nice! Thank you for taking this on |
|
It actually looks like this already needs a rebase? :/ |
|
@addaleax Yep, I will be doing the rebase in a bit. Note that the commits as of right now represent maybe 50% of the commits that will be part of this PR... more to come. |
|
Update: I've backported commits that have to do with HTTP/2 all the way up to August 15. Based on how many come afterward I'm thinking of just opening a new PR for remaining commits. I created list of commits based on any commit the all matched the following criteria:
I removed commits that I believed were too broad to be applied to a PR based around just backporting http2, which resulted in (1) the commits in the PR, and (2) a smaller list of commits that I did not add to this PR but are worth noting. I grouped these commits below based on what I think should be backported together in follow-up PRs:
@addaleax, it seems like you are the author of the majority of these changes, so any advice you might have on how to proceed with these would be appreciated. |
|
Ping @MylesBorins @addaleax @nodejs/http2 -- Since Node 10 will be going to LTS soon, I want to make sure we have enough time to react to any requested changes/future PRs. |
|
@kjin thanks for the hard work! We should plan for another 8.x semver minor to accommodate these changes. It looks like there are semver minor changes outside of http2, but if they scoped only to http2 we would be able to land as a semver-patch (as it is not stable in 8.x) |
|
@MylesBorins With the exception of adding the |
|
From a very quick look I'm thinking about #20094 which is a semver-minor which affects http. TBH it probably doesn't make sense to just land those changes on http, we should eat the semver-minor on this |
|
Update #2: I've added commits that were landed between 10.9 and 10.11. There were some in particular that I opted to change/skip, that might need additional attention:
I believe as it is, this PR passes tests. However, there are a few things I want to get confirmation for from these folks:
|
|
Ping @nodejs/lts -- I think this is ready to move forward (let me know if you need anything from my end) |
|
The linter is failing, it seems to be this commit that is failing: |
PR-URL: nodejs#19956 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: nodejs#20018 PR-URL: nodejs#20031 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
Landed on |
|
Not sure if this is the right place to post this; please redirect me if needed. |
|
@Flarna if you could open a new issue that documents how to recreate the observed behavior we can get to this ASAP |
|
@MylesBorins done: #24559 |
This PR tracks an effort to backport new HTTP/2 features from 10.x.
It's a work in progress, so this PR is currently more of an FYI and shouldn't really be reviewed (except if it's clear that a commit doesn't really belong).Note that I have some intermediate commits that currently skip some tests.Edit: See my comments below.
cc/ @ofrobots @apapirovski @nodejs/http2
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes