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

Any possibility of TLS with ALPN? #39

Open
bipinu opened this issue Mar 10, 2015 · 2 comments
Open

Any possibility of TLS with ALPN? #39

bipinu opened this issue Mar 10, 2015 · 2 comments

Comments

@bipinu
Copy link

bipinu commented Mar 10, 2015

I use this project on my personal blog, and have not run into any issues. Thank you for the awesome work.

I was going through the HTTP2 RFC, and noticed that they have moved to TLS with ALPN. I am unaware of the low-level differences between NPN and ALPN, so pardon if my question is stupid, but is there a possibility to build this code accordingly?

@bipinu
Copy link
Author

bipinu commented Mar 16, 2015

I went through both the drafts over the weekend, and apparently the primary difference is how they agree upon which application protocol to use.

In case of NPN, the server sends a list of supported protocols during the TLS Hello, while in case of ALPN it's the client that sends the list of supported protocols in order of preference.

@eousphoros
Copy link
Owner

If you submit a pull request to a new branch I'll merge it

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

2 participants