tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: svn commit: r565964 - in /tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11: InternalNioInputBuffer.java InternalNioOutputBuffer.java
Date Wed, 15 Aug 2007 14:44:30 GMT
I believe the same problem exists on the APR connector

it is the Http11AprProcessor.event doesn't call nextRequest() like the 
process method does
hence filters don't get reset, and this affects regular future HTTP 
requests as well

Filip

fhanik@apache.org wrote:
> Author: fhanik
> Date: Tue Aug 14 16:03:52 2007
> New Revision: 565964
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=565964
> Log:
> backport from trunk
>
> Modified:
>     tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java
>     tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java
>
> Modified: tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java
> URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java?view=diff&rev=565964&r1=565963&r2=565964
> ==============================================================================
> --- tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java (original)
> +++ tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java Tue
Aug 14 16:03:52 2007
> @@ -294,6 +294,10 @@
>       * connection.
>       */
>      public void recycle() {
> +        // Recycle filters
> +        for (int i = 0; i <= lastActiveFilter; i++) {
> +            activeFilters[i].recycle();
> +        }
>  
>          // Recycle Request object
>          request.recycle();
>
> Modified: tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java
> URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java?view=diff&rev=565964&r1=565963&r2=565964
> ==============================================================================
> --- tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java (original)
> +++ tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioOutputBuffer.java Tue
Aug 14 16:03:52 2007
> @@ -333,6 +333,10 @@
>       * connection.
>       */
>      public void recycle() {
> +        // Recycle filters
> +        for (int i = 0; i <= lastActiveFilter; i++) {
> +            activeFilters[i].recycle();
> +        }
>  
>          // Recycle Request object
>          response.recycle();
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>
>   


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


Mime
View raw message