Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 99528 invoked from network); 15 Aug 2007 14:45:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 14:45:07 -0000 Received: (qmail 42848 invoked by uid 500); 15 Aug 2007 14:45:01 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 42793 invoked by uid 500); 15 Aug 2007 14:45:01 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 42759 invoked by uid 99); 15 Aug 2007 14:45:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 07:45:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 14:44:56 +0000 Received: (qmail 26048 invoked from network); 15 Aug 2007 09:38:00 -0500 Received: from 72-19-171-38.static.mesanetworks.net (HELO ?192.168.3.103?) (72.19.171.38) by halosg.com with SMTP; 15 Aug 2007 09:38:00 -0500 Message-ID: <46C3114E.80506@hanik.com> Date: Wed, 15 Aug 2007 08:44:30 -0600 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: svn commit: r565964 - in /tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11: InternalNioInputBuffer.java InternalNioOutputBuffer.java References: <20070814230353.9FD9B1A981D@eris.apache.org> In-Reply-To: <20070814230353.9FD9B1A981D@eris.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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