eousphoros/mod-spdy

Any possibility of TLS with ALPN?

Opened this issue · 2 comments

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?

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.

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