Correct reason for adding extra time to expected completion time. This issue is not noticeable since TimeoutServlet.ASYNC_TIMEOUT and AsyncStartRunnable.THREAD_SLEEP_TIME were both 3000ms.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643100 13f79535-47bb-0310-9956-ffa450edef68
No need for a 3s timeout. Reduce to 100ms to speed up testing.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643104 13f79535-47bb-0310-9956-ffa450edef68
Update to Checkstyle 6.1.1

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643121 13f79535-47bb-0310-9956-ffa450edef68
Fix IDE warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643126 13f79535-47bb-0310-9956-ffa450edef68
Refactor test to stop IDE complaining about possible NPEs.
Also requires slightly less code.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643128 13f79535-47bb-0310-9956-ffa450edef68
Add configuration options for extensions, the origin header, periodic check and buffer size. This restores the previous behavior, but adds some flexibility.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643194 13f79535-47bb-0310-9956-ffa450edef68
Add whitespace to align flags to make it easier to see which states set
which flags.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643206 13f79535-47bb-0310-9956-ffa450edef68
Create (currently failing) test cases for
https://issues.apache.org/bugzilla/show_bug.cgi?id=57252

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643209 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57252
Provide application configured error pages with a chance to handle an
async error before the built-in error reporting.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643210 13f79535-47bb-0310-9956-ffa450edef68
Follow up to r1643002. If something goes wrong, ensure non-container threads are unblocked.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643216 13f79535-47bb-0310-9956-ffa450edef68
Use the correct constant for the debug message.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643249 13f79535-47bb-0310-9956-ffa450edef68
Possible fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=57265

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1643270 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57281
Use interfaces rather than implementations to call Filter and Servlet
methods when running under a security manager.
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57308
Avoid unnecessary use of System.getProperty("file.separator")
Format
Part 1 of fix for
https://issues.apache.org/bugzilla/show_bug.cgi?id=57309
Addressed the direct calls to ELSupport.coerceToType()
Still need to address the type specific versions of that method.
Part 2 of fix for
https://issues.apache.org/bugzilla/show_bug.cgi?id=57309
Run all the type specific conversions through the ELResolver
Add a test case for
https://issues.apache.org/bugzilla/show_bug.cgi?id=57284
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57284
Enable startAsync() to be called from a Filter and still be able to call
the remainder of the FilterChain