From: markt Date: Thu, 5 May 2011 14:30:11 +0000 (+0000) Subject: Ensure keepAliveLeft count is maintained with pipelined requests X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b3ee0b8c18dc856fb802b9d2c1b25106c73a9082;p=tomcat7.0 Ensure keepAliveLeft count is maintained with pipelined requests git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1099821 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/coyote/http11/Http11Processor.java b/java/org/apache/coyote/http11/Http11Processor.java index c44c8249b..94dc4c7cb 100644 --- a/java/org/apache/coyote/http11/Http11Processor.java +++ b/java/org/apache/coyote/http11/Http11Processor.java @@ -368,6 +368,9 @@ public class Http11Processor extends AbstractHttp11Processor { if (isAsync() || error || inputBuffer.lastValid == 0) { break; } + + keepAliveLeft = + maxKeepAliveRequests>0?socketWrapper.decrementKeepAlive():-1; } rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);