Remove unnecessary (duplicate) code
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Aug 2011 09:17:59 +0000 (09:17 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Aug 2011 09:17:59 +0000 (09:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1160592 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/ajp/AjpAprProcessor.java
java/org/apache/coyote/ajp/AjpNioProcessor.java
java/org/apache/coyote/ajp/AjpProcessor.java

index 11c03c8..880c964 100644 (file)
@@ -59,7 +59,6 @@ public class AjpAprProcessor extends AbstractAjpProcessor<Long> {
         return log;
     }
 
-
     // ----------------------------------------------------------- Constructors
 
 
@@ -132,7 +131,6 @@ public class AjpAprProcessor extends AbstractAjpProcessor<Long> {
                     // This means that no data is available right now
                     // (long keepalive), so that the processor should be recycled
                     // and the method should return true
-                    rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);
                     break;
                 }
                 // Check message type, process right away and break if
index 152a26c..8b34c24 100644 (file)
@@ -111,7 +111,6 @@ public class AjpNioProcessor extends AbstractAjpProcessor<NioChannel> {
                 // Get first message of the request
                 int bytesRead = readMessage(requestHeaderMessage, false);
                 if (bytesRead == 0) {
-                    rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);
                     break;
                 }
                 // Set back timeout if keep alive timeout is enabled
index 785f99c..57a0698 100644 (file)
@@ -129,7 +129,6 @@ public class AjpProcessor extends AbstractAjpProcessor<Socket> {
                 // Get first message of the request
                 if (!readMessage(requestHeaderMessage)) {
                     // This means a connection timeout
-                    rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);
                     break;
                 }
                 // Set back timeout if keep alive timeout is enabled