Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] H2 without ALPN agent?

I am trying to use HTTP 2 with Jetty 9.4.28.v20200408 and OpenJDK 1.8.0_252. I have followed the instructions in the docs, and it works fine.

However, I'd like to make it work without using the ALPN boot agent. From https://webtide.com/jetty-alpn-java-8u252/, this is possible, but appears to not be doable using the module system. Is that right?

If so, how can I add ALPN support to the HTTP2 module without using the ALPN module. I imagine it's possible by copying $JETTY_HOME/etc/jetty-http2.xml into  $JETTY_BASE/etc and modifying it slightly. Is that right? If so, can you guide me a little?

TIA

Back to the top