From fb7026b832e05995205f2f71d5188fcb999ff4ca Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Fri, 19 Jan 2018 16:21:38 +0100 Subject: [PATCH] Add documentation for HTTP/2 support in Jetty See gh-10902 --- .../spring-boot-docs/src/main/asciidoc/howto.adoc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc index 3313c4d7c6..a527af9324 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -747,8 +747,6 @@ Spring Boot does not support `h2c`, the cleartext version of the HTTP/2 protocol must <>. ==== -Currently, only Undertow and Tomcat are supported with this configuration key. - [[howto-configure-http2-undertow]] @@ -757,6 +755,15 @@ As of Undertow 1.4.0+, HTTP/2 is supported without any additional requirement on +[[howto-configure-http2-jetty]] +==== HTTP/2 with Jetty +As of Jetty 9.4.8, HTTP/2 is also supported with the +https://www.conscrypt.org/[Conscrypt library]. +To enable that support, your application needs to have two additional dependencies: +`org.eclipse.jetty:jetty-alpn-conscrypt-server` and `org.eclipse.jetty.http2:http2-server`. + + + [[howto-configure-http2-tomcat]] ==== HTTP/2 with Tomcat Spring Boot ships by default with Tomcat 8.5.x. With that version, HTTP/2 is only