tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c
Date Fri, 13 May 2005 07:19:32 GMT
mturk       2005/05/13 00:19:32

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  Log as warning when there is no free endpoint pool entiries free.
  
  Revision  Changes    Path
  1.110     +7 -2      jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
  
  Index: jk_ajp_common.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- jk_ajp_common.c	6 May 2005 13:59:34 -0000	1.109
  +++ jk_ajp_common.c	13 May 2005 07:19:32 -0000	1.110
  @@ -2055,10 +2055,10 @@
               for(i = w->ep_cache_sz - 1; i >= 0; i--) {
                   if (w->ep_cache[i] == NULL) {
                       w->ep_cache[i] = p;
  -                    ajp_reset_endpoint(p, l);
                       break;
                   }
               }
  +            ajp_reset_endpoint(p, l);
               *e = NULL;
               JK_LEAVE_CS(&w->cs, rc);
               if (sock >= 0)
  @@ -2124,6 +2124,11 @@
                   JK_TRACE_EXIT(l);
                   return JK_TRUE;
               }
  +            else {
  +                jk_log(l, JK_LOG_WARNING,
  +                        "Unable to get the free endpoint for worker %s from %d slots",
  +                        aw->name, aw->ep_cache_sz);                
  +            }
               JK_LEAVE_CS(&aw->cs, rc);
           }
           else {
  
  
  

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