hi- Starting with Tomcat 8.0.35 when an async request times out, in a subsequent error dispatch request.isAsyncStarted() returns true. Previously it returned false.
The Servlet spec says: If this request has been dispatched using one of the AsyncContext.dispatch methods since it was put in asynchronous mode, or a call to AsynContext.complete is made, this method returns false. No explicit mention of ERROR dispatches but I'd assume once the request that called startAsync is done, it won't return true any more. For what it's worth Jetty still return false on the ERROR dispatch. Here is a repro project [1]. Before creating a ticket I wanted to check if this is expected behavior or an unintended side effect of other changes? Rossen [1] https://github.com/spring-projects/spring-framework-issues/tree/master/SPR-14444