tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/net PoolTcpEndpoint.java
Date Sun, 24 Jun 2001 22:44:16 GMT
costin      01/06/24 15:44:16

  Modified:    src/share/org/apache/tomcat/util/net PoolTcpEndpoint.java
  Log:
  Added the test in the base class, to avoid duplicating it in all subclasses.
  
  Revision  Changes    Path
  1.12      +6 -3      jakarta-tomcat/src/share/org/apache/tomcat/util/net/PoolTcpEndpoint.java
  
  Index: PoolTcpEndpoint.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/net/PoolTcpEndpoint.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- PoolTcpEndpoint.java	2001/05/18 19:20:22	1.11
  +++ PoolTcpEndpoint.java	2001/06/24 22:44:16	1.12
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/net/PoolTcpEndpoint.java,v
1.11 2001/05/18 19:20:22 larryi Exp $
  - * $Revision: 1.11 $
  - * $Date: 2001/05/18 19:20:22 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/net/PoolTcpEndpoint.java,v
1.12 2001/06/24 22:44:16 costin Exp $
  + * $Revision: 1.12 $
  + * $Date: 2001/06/24 22:44:16 $
    *
    * ====================================================================
    *
  @@ -428,6 +428,9 @@
   			con=(TcpConnection)connectionCache.get();
   			if( con == null ) 
   			    con = new TcpConnection();
  +		    } else {
  +			if( con==null )
  +			    continue;
   		    }
   		    
   		    con.setEndpoint(endpoint);
  
  
  

Mime
View raw message