Start to align process method
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 6 Aug 2011 20:49:52 +0000 (20:49 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 6 Aug 2011 20:49:52 +0000 (20:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1154583 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/http11/Http11AprProcessor.java
java/org/apache/coyote/http11/Http11NioProcessor.java
java/org/apache/coyote/http11/Http11Processor.java

index f92bee1..1333bc6 100644 (file)
@@ -161,6 +161,9 @@ public class Http11AprProcessor extends AbstractHttp11Processor<Long> {
      * Process pipelined HTTP requests using the specified input and output
      * streams.
      *
+     * @param socketWrapper Socket from which the HTTP requests will be read
+     *               and the HTTP responses will be written.
+     *  
      * @throws IOException error during an I/O operation
      */
     @Override
@@ -177,8 +180,8 @@ public class Http11AprProcessor extends AbstractHttp11Processor<Long> {
 
         // Error flag
         error = false;
-        comet = false;
         keepAlive = true;
+        comet = false;
 
         int keepAliveLeft = maxKeepAliveRequests;
         long soTimeout = endpoint.getSoTimeout();
index 599776b..2eb0f99 100644 (file)
@@ -192,6 +192,9 @@ public class Http11NioProcessor extends AbstractHttp11Processor<NioChannel> {
      * Process pipelined HTTP requests using the specified input and output
      * streams.
      *
+     * @param socketWrapper Socket from which the HTTP requests will be read
+     *               and the HTTP responses will be written.
+     *  
      * @throws IOException error during an I/O operation
      */
     @Override
index 0b87894..6ce5daf 100644 (file)
@@ -122,7 +122,8 @@ public class Http11Processor extends AbstractHttp11Processor<Socket> {
 
 
     /**
-     * Process pipelined HTTP requests on the specified socket.
+     * Process pipelined HTTP requests using the specified input and output
+     * streams.
      *
      * @param socketWrapper Socket from which the HTTP requests will be read
      *               and the HTTP responses will be written.