async more likely than comet
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 7 Sep 2011 12:31:30 +0000 (12:31 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 7 Sep 2011 12:31:30 +0000 (12:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1166150 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/http11/AbstractHttp11Processor.java

index 700d9dc..3c86937 100644 (file)
@@ -1028,7 +1028,7 @@ public abstract class AbstractHttp11Processor<S> extends AbstractProcessor<S> {
 
         if (error || endpoint.isPaused()) {
             return SocketState.CLOSED;
-        } else if (comet || isAsync()) {
+        } else if (isAsync() || comet) {
             return SocketState.LONG;
         } else {
             if (sendfileInProgress) {