You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/11/16 23:12:18 UTC

[Bug 60385] ServletRequestListener.requestDestroyed not invoked after exception in requestInitialized

https://bz.apache.org/bugzilla/show_bug.cgi?id=60385

--- Comment #1 from Todd West <to...@newrelic.com> ---
For a little more information, the code involved in this issue can be found in
org.apache.catalina.core.StandardHostValve. Specifically in the "invoke(Request
request, Response response)" method.

When context.fireRequestInitEvent(request) is called, if it returns false (in
the case of an exception from a handler) then it will exit this method without
ever calling fireRequestDestroyEvent(request) to ensure that it can clean up
after itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org