• Andy Wilkinson's avatar
    Allow Undertow to stop when a request is being handled · 9ba78db8
    Andy Wilkinson authored
    Previously, unlike embedded Jetty, Netty, and Tomcat, Undertow would
    not stop when one of its worker threads was in use. This meant that a
    a long-running or stalled request could prevent the application from
    shutting down in response to SIGTERM or SIGINT, and SIGTERM would be
    required to get the process to exit.
    
    This commit updates the factories for the reactive and servlet
    Undertow web server factories to configure Undertow to use a 0ms
    shutdown timeout. This aligns it with the behaviour of Jetty, Netty,
    and Tomcat. Tests have been introduced to verify the behaviour across
    the reactive and servlet variants of all four supported embedded web
    servers.
    
    Fixes gh-21319
    9ba78db8
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...