Skip to content
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 #5

Open
sergeyfrolov opened this issue Sep 4, 2019 · 0 comments
Open

Add http2 support #5

sergeyfrolov opened this issue Sep 4, 2019 · 0 comments

Comments

@sergeyfrolov
Copy link
Member

Issue moved from the old repo. FWIW, http2 is more common now, and is worth looking into again.

We might want to have this support because

  • All the modern browsers advertise http2 first in ALPN, so, if we want to parrot them and advertise http2 as well, we will get an increasing amount of decoy servers responding "yep, let's talk http2". Then the http/1.1-style incomplete request would trigger "wtf did you just send that's no http2" response.

  • http2 might have some desirable features that we can use

  • Per http2 specification https://http2.github.io/http2-spec/#FrameHeader :

    Implementations MUST ignore and discard any frame that has a type that is unknown.

    This might allow us to ignore the upload limit and substantially improve performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant