Uh oh!
There was an error while loading. Please reload this page.
Add native HTTP/2 support - #1489
Conversation
retrohacker
commented
Sep 12, 2017
yunong
commented
Sep 12, 2017
🎉 I've assigned a few reviewers to look at this, but this is amazing work so far. |
hekike
commented
Oct 25, 2017
@DonutEspresso@yunong@jclulow@retrohacker Node.js
I rebased this PR with the |
yunong
commented
Oct 26, 2017
Looks great. What do you think about adding some documentation to the home page about how we support HTTP/2, but that it's still experimental? I think this would give us tremendous PR! |
yunong
commented
Oct 26, 2017
What happens if we're on a version of Node that doesn't support |
hekike
commented
Oct 27, 2017
@yunong regarding docs and landing I can create some hands-on guide for
|
yunong
commented
Oct 27, 2017
@hekike That blog post is great, maybe we can link to some articles instead of having to maintain HTTP/2 specific documentation. I was more thinking about just adding docs to say that we support HTTP/2 now, with some pointers to code snippets or examples, which you already have added. |
hekike
commented
Oct 30, 2017
@yunong I agree. What do you think, should we link the articles it in this PR? |
yunong
commented
Oct 31, 2017
Yeah we should land and then follow up with some docs :) |
fcdb387 to
3072e38Comparehekike
commented
Nov 1, 2017
Breaks because of: #1545 |

Please provide feedback in the comment section about this approach.
Issues
Related:
Add HTTP/2 support to
restifyChanges
serverRequestandResponseobjectsrestifyTODO
Http2ServerRequestandHttp2ServerResponeobjects)Http2ServerRequestpathgetter (> 8.5.0) see nodejs/node@c981483http2module in Node.js (8.8.0, see: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#2017-10-24-version-880-current-mylesborins)(probably we should run all of the tests with both(I think it's not needed, as the interface is the same and it's already tested in the Node core)http2andspdyoptions as well)How to run
At the moment you need to build Node.js with the latest master and using the--expose-http2flag to run this branch.