eousphoros / mod-spdy

OpenSSL 1.0.2 and Apache 2.4.12 port for mod-spdy
Other
79 stars 23 forks source link

Any possibility of TLS with ALPN? #39

Open bipinu opened 9 years ago

bipinu commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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