http 2 SPDY
-
Has anyone tried enabling http2 in jetty? Advantages?
-
Hi Brad,
Yes, we have. The main advantage is that it's faster.
I believe if you have HTTPS enabled and the ext enable-alpn script in the
Mango/bin/ext-enabled
directory it should automatically upgrade the connection. It's possible that the appropriate alpn jar (referenced in the enable-alpn script) wasn't in your Mango download. There was an issue in the build system, so it isn't in the 3.3 download but will be subsequently. If indeed you do not have aMango/boot/jetty-alpn-agent.jar
you can download it from Maven central, http://search.maven.org/#search|gav|1|g%3A"org.mortbay.jetty.alpn" AND a%3A"jetty-alpn-agent"Edit: This is in relation to HTTP/2 . If your question is specifically about SPDY (which I know little about), can you elaborate?
-
Direct link to the jar - http://search.maven.org/remotecontent?filepath=org/mortbay/jetty/alpn/jetty-alpn-agent/2.0.7/jetty-alpn-agent-2.0.7.jar
Ensure you rename it to jetty-alpn-agent.jar.
SPDY is the predecessor to HTTP/2 and we do not support it.
-
Thanks, Phil. I will give it a try. Is https a fundamental
requirement for it to work properly? -
Yes