d166056f18
Reworked the ServletChannel.handle() SEND_ERROR case. Now using the proper state changes to call ErrorHandler.handle(), which is asynchronous, so that IllegalStateExceptions are avoided. Restored idle timeout tests in ee9/ee10 AsyncMiddleManServletTest. Fixed notification of request destroyed in ErrorHandler: must be before completing the callback, since listener may call Servlet APIs that should see the ServletChannel state before the ErrorHandler callback changes it. Updated ServletChannelState.isAsync() and isAsyncStarted(). Signed-off-by: Simone Bordet <simone.bordet@gmail.com> |
||
---|---|---|
.. | ||
src | ||
pom.xml |