Correct bug in async examples. Remove unnecessary call to
AsyncContext.complete() that triggered an ISE.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1178542 13f79535-47bb-0310-9956-
ffa450edef68
log.info("Received dispatch, completing on the worker thread.");
log.info("After complete called started:"+req.isAsyncStarted());
resp.getWriter().write("Async dispatch worked:+"+System.currentTimeMillis()+"\n");
- req.getAsyncContext().complete();
} else {
resp.setContentType("text/plain");
final AsyncContext actx = req.startAsync();