• Andy Wilkinson's avatar
    Configure worker for Undertow’s access log to use daemon threads · b79ee145
    Andy Wilkinson authored
    Previously, the worker used non-daemon threads which meant that they
    prevented the JVM from shutting down. Ideally, we’d avoid this problem
    by closing the worker and access log receiver as part of stopping
    Undertow, however, due to an apparent bug in Undertow [1], it’s not
    possible to do so cleanly.
    
    This commit configures the access log worker to use daemon threads so
    that they do not prevent the JVM from shutting down. Unfortunately,
    this means that the threads will still be running after the context has
    been closed but before the JVM shuts down but that appears to be
    unavoidable due to the aforementioned Undertow bug.
    
    Closes gh-4793
    
    [1] https://issues.jboss.org/browse/UNDERTOW-597
    b79ee145
Name
Last commit
Last update
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...