Hups, Http11NioProcessor need FirstReadTimeout at strange way.. Sorry!
authorpero <pero@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 18 May 2007 18:05:40 +0000 (18:05 +0000)
committerpero <pero@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 18 May 2007 18:05:40 +0000 (18:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@539542 13f79535-47bb-0310-9956-ffa450edef68

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

index dfa74a4..cca2c44 100644 (file)
@@ -430,6 +430,13 @@ public class NioEndpoint {
     public void setSoTimeout(int soTimeout) { socketProperties.setSoTimeout(soTimeout); }
 
     /**
+      * Timeout on first request read before going to the poller, in ms.
+     */
+    protected int firstReadTimeout = 60000;
+    public int getFirstReadTimeout() { return firstReadTimeout; }
+    public void setFirstReadTimeout(int firstReadTimeout) { this.firstReadTimeout = firstReadTimeout; }
+    
+    /**
      * The default is true - the created threads will be
      *  in daemon mode. If set to false, the control thread
      *  will not be daemon - and will keep the process alive.