tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java
Date Fri, 24 Jun 2005 10:25:25 GMT
remm        2005/06/24 03:25:25

  Modified:    util/java/org/apache/tomcat/util/net AprEndpoint.java
  Log:
  - Don't call maintain if connections are persistent (usually, AJP).
  
  Revision  Changes    Path
  1.49      +1 -1      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java
  
  Index: AprEndpoint.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- AprEndpoint.java	18 Jun 2005 08:03:21 -0000	1.48
  +++ AprEndpoint.java	24 Jun 2005 10:25:25 -0000	1.49
  @@ -906,7 +906,7 @@
                               }
                           }
                       }
  -                    if (maintainTime > 1000000L) {
  +                    if (soTimeout > 0 && maintainTime > 1000000L) {
                           rv = Poll.maintain(serverPollset, desc, true);
                           maintainTime = 0;
                           if (rv > 0) {
  
  
  

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