remm 2003/03/23 10:58:29 Modified: http11/src/java/org/apache/coyote/http11 Http11Processor.java Log: - Set the state as ended when going out of the loop (otherwise, threads get reported as keepalive). Revision Changes Path 1.63 +4 -5 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java Index: Http11Processor.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- Http11Processor.java 23 Mar 2003 16:08:48 -0000 1.62 +++ Http11Processor.java 23 Mar 2003 18:58:29 -0000 1.63 @@ -663,11 +663,8 @@ } thrA.setCurrentStage(threadPool, "ended"); - if (keepAlive) { - rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE); - } else { - rp.setStage(org.apache.coyote.Constants.STAGE_ENDED); - } + rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE); + // Don't reset the param - we'll see it as ended. Next request // will reset it // thrA.setParam(null); @@ -676,6 +673,8 @@ outputBuffer.nextRequest(); } + + rp.setStage(org.apache.coyote.Constants.STAGE_ENDED); // Recycle inputBuffer.recycle();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]