Summary: | Incorrect request properties after AsyncContext.dispatch | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Rossen Stoyanchev <rstoyanchev> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.0.29 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Rossen Stoyanchev
2012-07-30 18:51:54 UTC
Thanks for the excellent test case. Very easy to work with. I have the bug in the first scenario fixed. I'll look at the second scenario next. It looks like the bug in the second and fourth scenario are related. I'll commit the fixes once all the scenarios are working. *** Bug 53632 has been marked as a duplicate of this bug. *** This has been fixed in trunk and 7.0.x and will be included in 7.0.30 onwards. The root cause was that Tomcat used the RequestDispatcher.include() to perform async dispatches with some trickery to differentiate an include and a dispatch. Wrapping the request (which also happens on a forward) was enough to break the mechanism. A new, hopefulyl more robust, approach has been implemented and all the provided tests (including those in the duplicate) now pass. Thanks for the quick turnaround! |