Commit c57b980
Daniel Mikusa
Modify default Tomcat configuration to include HTTP/2 support (#906)
This commit will enable HTTP/2 upgrade support, specifically H2C, in the Tomcat configuration that is generated by the buildpack. This will enable HTTP/2 by default. It cannot be disabled, unless you use the Java buildpack's feature to use external Tomcat configuration.
The impact should be minimal as you will still retain full HTTP/1.1 support, HTTP/2 will not be forced on clients, and a client would need to request HTTP/2. This commit should also support Java 8+ because we are using H2C, so the additional TLS requirements that precipitate using Java 9+ do not apply.
Full HTTP/2 support requires running a version of Cloud Foundry that also includes support for HTTP/2, or use via the container to container network.
Signed-off-by: Daniel Mikusa <[email protected]>1 parent 91aefac commit c57b980
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments