Author: remy.maucherat(a)jboss.com
Date: 2011-11-30 08:54:33 -0500 (Wed, 30 Nov 2011)
New Revision: 1879
Modified:
trunk/java/org/apache/catalina/core/StandardHostValve.java
Log:
AS7-2844: Modify suspicious check in the host valve, since the path being null (or not)
may
be from some specification change.
Modified: trunk/java/org/apache/catalina/core/StandardHostValve.java
===================================================================
--- trunk/java/org/apache/catalina/core/StandardHostValve.java 2011-11-28 15:15:21 UTC
(rev 1878)
+++ trunk/java/org/apache/catalina/core/StandardHostValve.java 2011-11-30 13:54:33 UTC
(rev 1879)
@@ -285,7 +285,8 @@
status(request, response);
}
}
- if (request.isEventMode() && asyncContext.getPath() == null) {
+ // AS7-2844 if (request.isEventMode() && asyncContext.getPath() ==
null) {
+ if (!asyncContext.isReady()) {
asyncContext.complete();
}
}
Show replies by date