• Brian Clozel's avatar
    Do not handle WebFlux errors if response is committed · de208cd3
    Brian Clozel authored
    If the WebFlux handler commits the response but still sends an error
    signal in the reactive pipeline, Spring Boot error handling should not
    try to handle that error: once committed, it is impossible to change the
    response status or the response headers. Writing to the body might also
    lead to invalid responses.
    
    This commit skips error handling if the response is committed and
    delegates to Spring Framework's `HttpWebHandlerAdapter` which will log
    the error.
    
    Fixes gh-11168
    de208cd3
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests 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...