Bug 62562

Summary: Provide an option "unbindOnShutdown" like "bindOnInit" for Connector
Product: Tomcat 8 Reporter: quaff <zhouyanming>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 8.5.x-trunk   
Target Milestone: ----   
Hardware: PC   
OS: Mac OS X 10.1   

Description quaff 2018-07-23 07:56:22 UTC
New request will block until all ServletContexts closed then destroy ProtocolHandler and failed finally while shutting down. I think it's more desirable to reject new request as quick as possible, tomcat should destroy ProtocolHandler before close ServletContext, at least provide an option like "bindOnInit=false" which reject request during start.
Comment 1 Mark Thomas 2018-07-23 08:05:21 UTC

*** This bug has been marked as a duplicate of bug 62515 ***