tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server PoolTcpConnector.java
Date Sat, 02 Oct 2004 01:22:10 GMT
billbarker    2004/10/01 18:22:10

  Modified:    src/share/org/apache/tomcat/modules/server
                        PoolTcpConnector.java
  Log:
  For backwards compatability, default the strategy to leader/follower.
  
  Revision  Changes    Path
  1.19      +1 -3      jakarta-tomcat/src/share/org/apache/tomcat/modules/server/PoolTcpConnector.java
  
  Index: PoolTcpConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/PoolTcpConnector.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- PoolTcpConnector.java	25 Feb 2004 07:18:35 -0000	1.18
  +++ PoolTcpConnector.java	2 Oct 2004 01:22:10 -0000	1.19
  @@ -58,6 +58,7 @@
   
       public PoolTcpConnector() {
       	ep = new PoolTcpEndpoint();
  +	ep.setStrategy("lf");
       }
   
       // -------------------- Start/stop --------------------
  @@ -107,9 +108,6 @@
       
       // -------------------- Pool setup --------------------
   
  -    public void setPools( boolean t ) {
  -	ep.setPoolOn(t);
  -    }
   
       public void setMaxThreads( int maxThreads ) {
   	ep.setMaxThreads(maxThreads);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message