- Remove fixme for the timeout hack. I think this timeout has a lot in common with...
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 25 Apr 2007 16:48:19 +0000 (16:48 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 25 Apr 2007 16:48:19 +0000 (16:48 +0000)
  resource use, so the normal behavior seems good enough.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@532405 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/AprEndpoint.java

index 8969acd..b23a9ef 100644 (file)
@@ -1160,11 +1160,6 @@ public class AprEndpoint {
             if (timeout < 0) {
                 timeout = soTimeout;
             }
-            if (comet) {
-                // FIXME: Find an appropriate timeout value, for now, "longer than usual"
-                // semms appropriate
-                timeout = soTimeout * 50;
-            }
             serverPollset = allocatePoller(size, pool, timeout);
             if (serverPollset == 0 && size > 1024) {
                 size = 1024;