tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r452288 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardPipeline.java
Date Tue, 03 Oct 2006 01:08:32 GMT
Author: markt
Date: Mon Oct  2 18:08:32 2006
New Revision: 452288

URL: http://svn.apache.org/viewvc?view=rev&rev=452288
Log:
Port fix for bug 39724. Removing the only valve from a pipeline did not return the pipeline
to its original state. Patched provided by David Gagnon.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardPipeline.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardPipeline.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardPipeline.java?view=diff&rev=452288&r1=452287&r2=452288
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardPipeline.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardPipeline.java Mon Oct  2 18:08:32
2006
@@ -530,6 +530,8 @@
             current = current.getNext();
         }
 
+        if (first == basic) first = null;
+
         if (valve instanceof Contained)
             ((Contained) valve).setContainer(null);
 



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


Mime
View raw message