-
Notifications
You must be signed in to change notification settings - Fork 2k
add HTTP2 support #919
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 HTTP2 support #919
Conversation
I realized that I forgot the example and tests that I had working locally. Unfortunately the HTTP2 module requires >= 0.12.0 which might be a requirement that isn't aligned with this project, but it is causing the 0.10.2 test to fail in travis-ci here. |
@indexzero @aaronmaturen the reason I'm hesitant on this is due to the conversation I had with @indutny where Personally, I'm not a fan of of actually spinning up a server as part of |
@indexzero ah, calling @dmai doesn't work on public git Hm, I don't think it would be that bad if we supported the I can see @jcrugzz 's point about not using a particular userland |
Any progressing? I get a problem using with http2 library molnarg/node-http2#158 (comment) And this PR fix the problem. |
Hi Friends, @jcrugzz suggested that the node-spdy module by @indutny is a better way to spin up a new HTTP2 server. It made sense to me at the time, and it's fairly easy to get setup if you actually have an SSL cert to get past the browser security... Here is a small example for HTTP2 -> HTTP proxying without any changes to http-proxy.
|
I hope this gets merged soon, or atleast added to an new branch. |
@tomByrer please see the last response, there is nothing preventing you from using |
@aaronmaturen I am new to http2 so please indulge me. How would your example code work if the target server is also HTTP2, and what about things like push streams, would they also work? In other words, would be able to get all of the http2 features without loosing any? |
hey bro, it seems that it doesn't work any more.... are there any solution so far in 2021? |
1 similar comment
hey bro, it seems that it doesn't work any more.... are there any solution so far in 2021? |
Hey Friends,
I think I've got HTTP2 support for the three use cases working correctly:
HTTP -> HTTP2
HTTP2 -> HTTP
HTTP2 -> HTTP2
Any feedback would be appreciated.
Thanks for everyone's hard work on this great project!