Author: remy.maucherat(a)jboss.com
Date: 2012-12-20 12:24:52 -0500 (Thu, 20 Dec 2012)
New Revision: 2137
Modified:
branches/7.2.x/src/main/java/org/apache/catalina/core/ApplicationDispatcher.java
Log:
Spec clarification for forward during async.
Modified:
branches/7.2.x/src/main/java/org/apache/catalina/core/ApplicationDispatcher.java
===================================================================
---
branches/7.2.x/src/main/java/org/apache/catalina/core/ApplicationDispatcher.java 2012-12-11
22:38:27 UTC (rev 2136)
+++
branches/7.2.x/src/main/java/org/apache/catalina/core/ApplicationDispatcher.java 2012-12-20
17:24:52 UTC (rev 2137)
@@ -553,6 +553,11 @@
processRequest(request,response,state);
}
+ // During async, the response will not be closed after a forward
+ if (request.getAsyncContext() != null) {
+ return;
+ }
+
// This is not a real close in order to support error processing
if (wrapper.getLogger().isDebugEnabled() )
wrapper.getLogger().debug(" Disabling the response for futher
output");
Show replies by date