Files
spring-boot/spring-boot-project
Andy Wilkinson 76ad197584 Deallocate servlet after forcing initialization in mappings endpoint
Previously, when using Tomcat, a call to mappings endpoint would force
the initialization of any DispatcherServlets in the context. This was
done by calling allocate on Tomcat's StandardWrapper. This left the
wrapper in a state that would cause it to block for two seconds during
shutdown as the wrapper has an outstanding allocation.

This commit immediately deallocates the servlet after it has been
allocated. This ensures that the DispatcherServlet has been initialized
while also leaving the wrapper in a state that it can shut down
immediately when asked to do so.

Closes gh-14898
2018-10-19 10:43:23 +01:00
..
2018-10-18 15:38:06 +01:00
2018-10-18 15:38:06 +01:00
2018-10-16 11:37:02 +02:00
2018-10-05 13:30:24 -07:00
2018-09-26 11:43:19 -04:00
2018-10-16 11:37:02 +02:00
2018-10-18 15:38:06 +01:00
2018-10-02 10:30:14 -07:00