mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-28 19:09:10 +00:00
408662 In pax-web servlet services requests even if init() has not finished running
This commit is contained in:
parent
4b458792c9
commit
52994f336a
@ -625,6 +625,8 @@ public class ServletHolder extends Holder<Servlet> implements UserIdentity.Scope
|
||||
Servlet servlet=_servlet;
|
||||
synchronized(this)
|
||||
{
|
||||
if (!isStarted())
|
||||
throw new UnavailableException("Servlet not initialized", -1);
|
||||
if (_unavailable!=0 || !_initOnStartup)
|
||||
servlet=getServlet();
|
||||
if (servlet==null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user