Port fix for bug 39724. Removing the only valve from a pipeline did not return the...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 3 Oct 2006 01:08:32 +0000 (01:08 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 3 Oct 2006 01:08:32 +0000 (01:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@452288 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardPipeline.java

index 3d79ecb..c953d1e 100644 (file)
@@ -530,6 +530,8 @@ public class StandardPipeline
             current = current.getNext();
         }
 
+        if (first == basic) first = null;
+
         if (valve instanceof Contained)
             ((Contained) valve).setContainer(null);