• Andy Wilkinson's avatar
    Do not enable H2C by default when using Reactor Netty · c662c404
    Andy Wilkinson authored
    Previously, Reactor Netty was the only embedded server that enabled
    H2C by default. This commit updates the factory to only enable HTTP/2
    when SSL has also been configured, aligning it with Jetty, Tomcat,
    and Undertow.
    
    If H2C is required, it can be enabled using a NettyServerCustomizer:
    
    @Bean
    NettyServerCustomizer h2cCustomizer() {
        return (httpServer) ->
               httpServer.protocol(HttpProtocol.HTTP11, HttpProtocol.H2C);
    }
    
    Closes gh-17867
    c662c404
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...