Fix a couple of ASync issues that were causing Servlet 3.0 TCK test failures.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 21 Mar 2010 14:13:40 +0000 (14:13 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 21 Mar 2010 14:13:40 +0000 (14:13 +0000)
commiteefc877bb64a59092621aaa48a2dbf4eeca44301
tree5732aa9ca40dee88ae0b9ba8e4df52f18e984e99
parent12415f9a253f8a9024e3e32df7c40f08ad754a1e
Fix a couple of ASync issues that were causing Servlet 3.0 TCK test failures.
1. <quote section="2.3.3.3" page="17">
The complete method can be invoked by the container if the request is dispatched to a servlet that does not support async processing, or the target servlet called by AsyncContext.dispatch does not do a subsequent call to startAsync. In this case, it is the container's responsibility to call complete() as soon as that servlet's service method is exited.
</quote>
2. <quote section="2.3.3.3" page ="13">
public boolean isAsyncStarted() - Returns true if async processing has started on this request, and false otherwise. 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.
</quote>

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@925769 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/core/AsyncContextImpl.java