Ensure that AsyncListener.onComplete() is fired when AsyncContext.complete() is called.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1040189 13f79535-47bb-0310-9956-
ffa450edef68
state = AsyncState.DISPATCHED;
return SocketState.ASYNC_END;
} else if (state == AsyncState.COMPLETING) {
+ asyncCtxt.fireOnComplete();
state = AsyncState.DISPATCHED;
return SocketState.ASYNC_END;
} else if (state == AsyncState.MUST_DISPATCH) {
caused by the previous fix for <bug>50159</bug>. (markt)
</fix>
<fix>
+ <bug>50352</bug>: Ensure that <code>AsyncListener.onComplete()</code> is
+ fired when <code>AsyncContext.complete()</code> is called. (markt)
+ </fix>
+ <fix>
<bug>50358</bug>: Set the correct LifecycleState when stopping instances
of the deprecated Embedded class. (markt)
</fix>