From: fhanik Date: Thu, 6 Aug 2009 22:44:35 +0000 (+0000) Subject: clarify name X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=508734fcff526bc8117e3f1dbe9b86199a875c32;p=tomcat7.0 clarify name git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801827 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/connector/Request.java b/java/org/apache/catalina/connector/Request.java index 46458db5f..847d6f201 100644 --- a/java/org/apache/catalina/connector/Request.java +++ b/java/org/apache/catalina/connector/Request.java @@ -849,7 +849,7 @@ public class Request } if (name.equals(Globals.ASYNC_SUPPORTED_ATTR)) { - return isAsyncSupported(); + return asyncSupported; } Object attr=attributes.get(name); diff --git a/java/org/apache/catalina/core/ApplicationDispatcher.java b/java/org/apache/catalina/core/ApplicationDispatcher.java index 6d6e4f58f..2346f8c18 100644 --- a/java/org/apache/catalina/core/ApplicationDispatcher.java +++ b/java/org/apache/catalina/core/ApplicationDispatcher.java @@ -641,7 +641,7 @@ final class ApplicationDispatcher 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 @@ final class ApplicationDispatcher 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