You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2011/05/05 16:30:11 UTC
svn commit: r1099821 -
/tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
Author: markt
Date: Thu May 5 14:30:11 2011
New Revision: 1099821
URL: http://svn.apache.org/viewvc?rev=1099821&view=rev
Log:
Ensure keepAliveLeft count is maintained with pipelined requests
Modified:
tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java?rev=1099821&r1=1099820&r2=1099821&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Thu May 5 14:30:11 2011
@@ -368,6 +368,9 @@ public class Http11Processor extends Abs
if (isAsync() || error || inputBuffer.lastValid == 0) {
break;
}
+
+ keepAliveLeft =
+ maxKeepAliveRequests>0?socketWrapper.decrementKeepAlive():-1;
}
rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org