tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r801827 - in /tomcat/trunk/java/org/apache/catalina: connector/Request.java core/ApplicationDispatcher.java
Date Thu, 06 Aug 2009 22:44:35 GMT
Author: fhanik
Date: Thu Aug  6 22:44:35 2009
New Revision: 801827

URL: http://svn.apache.org/viewvc?rev=801827&view=rev
Log:

clarify name

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/Request.java
    tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Request.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Request.java?rev=801827&r1=801826&r2=801827&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/Request.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Request.java Thu Aug  6 22:44:35 2009
@@ -849,7 +849,7 @@
         }
         
         if (name.equals(Globals.ASYNC_SUPPORTED_ATTR)) {
-            return isAsyncSupported();
+            return asyncSupported;
         }
 
         Object attr=attributes.get(name);

Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java?rev=801827&r1=801826&r2=801827&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ApplicationDispatcher.java Thu Aug  6 22:44:35
2009
@@ -641,7 +641,7 @@
         ApplicationFilterChain filterChain = factory.createFilterChain(request,
                                                                 wrapper,servlet);
         
-        Object asyncSupported = request.getAttribute(Globals.ASYNC_SUPPORTED_ATTR);
+        Object origAsyncSupported = request.getAttribute(Globals.ASYNC_SUPPORTED_ATTR);
         //we have a new filter chain, setup isAsyncSupported here
         boolean filterAsyncSupported = filterChain.isAsyncSupported();
         if (!filterAsyncSupported && request.isAsyncSupported()) {
@@ -705,7 +705,7 @@
                              wrapper.getName()), e);
             runtimeException = e;
         } finally {
-            request.setAttribute(Globals.ASYNC_SUPPORTED_ATTR, asyncSupported);
+            request.setAttribute(Globals.ASYNC_SUPPORTED_ATTR, origAsyncSupported);
         }
 
         // Release the filter chain (if any) for this request



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message