• 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
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
pom.xml Loading commit data...