Author: pero
Date: Fri May 18 10:57:16 2007
New Revision: 539539

URL: http://svn.apache.org/viewvc?view=rev&rev=539539
Log:
Remove unsused firstReadTimeout attribute 
Set correct default pollerThreadCount

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=539539&r1=539538&r2=539539
==============================================================================
--- 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 10:57:16 2007
@@ -32,7 +32,6 @@
 import java.nio.channels.SocketChannel;
 import java.security.KeyStore;
 import java.util.Collection;
-import java.util.Comparator;
 import java.util.Iterator;
 import java.util.Set;
 import java.util.StringTokenizer;
@@ -430,15 +429,6 @@
     public int getSoTimeout() { return socketProperties.getSoTimeout(); }
     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
@@ -478,7 +468,7 @@
     /**
      * Poller thread count.
      */
-    protected int pollerThreadCount = 0;
+    protected int pollerThreadCount = 1;
     public void setPollerThreadCount(int pollerThreadCount) { 
this.pollerThreadCount = pollerThreadCount; }
     public int getPollerThreadCount() { return pollerThreadCount; }
 



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

Reply via email to