Author: markt Date: Thu Oct 8 21:46:42 2015 New Revision: 1707623 URL: http://svn.apache.org/viewvc?rev=1707623&view=rev Log: Simplify. Removes incorrect comment.
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=1707623&r1=1707622&r2=1707623&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Thu Oct 8 21:46:42 2015 @@ -110,17 +110,6 @@ public class Http11Processor extends Abs /** - * Flag used to indicate that the socket should treat the next request - * processed like a keep-alive connection - i.e. one where there may not be - * any data to process. The initial value of this flag on entering the - * process method is different for connectors that use polling (NIO / APR - - * data is always expected) compared to those that use blocking (BIO - data - * is only expected if the connection isn't in the keep-alive state). - */ - protected boolean keptAlive; - - - /** * Flag that indicates that send file processing is in progress and that the * socket should not be returned to the poller (where a poller is used). */ @@ -951,7 +940,7 @@ public class Http11Processor extends Abs openSocket = false; sendfileInProgress = false; readComplete = true; - keptAlive = false; + boolean keptAlive = false; while (!getErrorState().isError() && keepAlive && !isAsync() && httpUpgradeHandler == null && !endpoint.isPaused()) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org