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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to