Jetty and HTTP2

33 views
Skip to first unread message

Jérémie Brébec

unread,
Jan 15, 2022, 8:56:34 AM1/15/22
to OPS4J
Hello,

Does pax-web (v7/Karaf 4.3) supports jetty and http/2 ?
I can't find a documentation on how to enable http2 with Karaf

Regards,
Jérémie

Grzegorz Grzybek

unread,
Jan 17, 2022, 3:22:04 AM1/17/22
to op...@googlegroups.com
Hello

In theory - yes, it does support HTTP/2.
In practice - also yes, because I see pax-web-jetty before version 8 indeed tries to instantiate `org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory` and use it as an argument to `org.eclipse.jetty.server.AbstractConnector#addConnectionFactory()`.
But in real practice - there are no integration tests in Pax Web that ensure this is correct handling and what's more important (at least for me) - that it's consistent across pax-web-jetty, pax-web-tomcat and pax-web-undertow.

In Pax Web 8 I'm going to add real integration tests (including for example HTTP/2 over clear text), but it's not ready yet.

regards
Grzegorz Grzybek

--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/261ee83f-08ba-4c05-b0b9-b88cdae34899n%40googlegroups.com.

Jérémie Brébec

unread,
Jan 18, 2022, 12:50:23 PM1/18/22
to OPS4J
Thanks !
Reply all
Reply to author
Forward
0 new messages