-
Notifications
You must be signed in to change notification settings - Fork 984
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
Add native HTTP/2 support #1489
Conversation
🎉 I've assigned a few reviewers to look at this, but this is amazing work so far. |
@DonutEspresso @yunong @jclulow @retrohacker Node.js
I rebased this PR with the |
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! |
What happens if we're on a version of Node that doesn't support |
@yunong regarding docs and landing I can create some hands-on guide for
|
@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. |
@yunong I agree. What do you think, should we link the articles it in this PR? |
Yeah we should land and then follow up with some docs :) |
fcdb387
to
3072e38
Compare
Breaks because of: #1545 |
Please provide feedback in the comment section about this approach.
Issues
Related:
Add HTTP/2 support to
restify
Changes
server
Request
andResponse
objectsrestify
TODO
Http2ServerRequest
andHttp2ServerRespone
objects)Http2ServerRequest
path
getter (> 8.5.0) see nodejs/node@c981483http2
module 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)http2
andspdy
options as well)How to run
At the moment you need to build Node.js with the latest master and using the--expose-http2
flag to run this branch.