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-connectors/util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java
Date Tue, 04 Mar 2003 18:20:37 GMT
costin      2003/03/04 10:20:36

  Modified:    util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java
  Log:
  Reduce verbosity and add more info to the message
  
  Revision  Changes    Path
  1.13      +7 -5      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/PoolTcpEndpoint.java
  
  Index: PoolTcpEndpoint.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/PoolTcpEndpoint.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- PoolTcpEndpoint.java	10 Jan 2003 20:22:37 -0000	1.12
  +++ PoolTcpEndpoint.java	4 Mar 2003 18:20:36 -0000	1.13
  @@ -332,10 +332,12 @@
               }
               s.close();
           } catch(Exception e) {
  -            log.error("Caught exception trying to unlock accept.", e);
  +            log.error("Caught exception trying to unlock accept on " + port
  +                    + " " + e.toString());
           }
           try {
  -            serverSocket.close();
  +            if( serverSocket!=null)
  +                serverSocket.close();
           } catch(Exception e) {
               log.error("Caught exception trying to close socket.", e);
           }
  
  
  

---------------------------------------------------------------------
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