Author: pero
Date: Fri May 18 11:05:40 2007
New Revision: 539542

URL: http://svn.apache.org/viewvc?view=rev&rev=539542
Log:
Hups, Http11NioProcessor need FirstReadTimeout at strange way.. Sorry!

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?view=diff&rev=539542&r1=539541&r2=539542
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Fri 
May 18 11:05:40 2007
@@ -430,6 +430,13 @@
     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.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to