-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support plain (non-SSL) connections #17
Comments
So, @indutny, you mentioned the challenge is to implement upgrade response/request. I'm confused how HTTP/2 can even work without it, but can't find anything in the codebase to deal with upgrade requests. Does that mean that generally clients that support HTTP/2 will downgrade to HTTP/1.1 (instead of upgrading)? Keep in mind, I'm new to HTTP/2. But am willing to give this a shot if nobody else will :) |
@ronkorving it usually works on top of TLS, and there is ALPN TLS extension to negotiate the protocol ahead of time. |
Got it, thanks. So it's for non-encrypted connections where UPGRADE becomes the method? |
Yes, exactly! |
Unfortunate that not a single browser seems to send |
Indeed. I can't find any reference of |
:( looks like for now I'm screwed then. My Raspberry Pi will either have to put up with encrypting streams of video, or I need to give up on HTTP2 (which I need, because I run into browser connection limits otherwise)... Sigh :( |
As discussed on Twitter, this is a remaining TODO for this module.
{ plain: true, ssl: false }
is documented, but doesn't seem to do anything.Reference: https://httpwg.github.io/specs/rfc7540.html#discover-http
The text was updated successfully, but these errors were encountered: