mturk       2005/05/15 05:07:27

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  Log case if there is no free cache slot on ajp_done. This should
  never hapen at the first place, and should probably be removed.
  
  Revision  Changes    Path
  1.112     +8 -4      
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.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- jk_ajp_common.c   14 May 2005 10:05:42 -0000      1.111
  +++ jk_ajp_common.c   15 May 2005 12:07:27 -0000      1.112
  @@ -2074,10 +2074,14 @@
                   JK_TRACE_EXIT(l);
                   return JK_TRUE;
               }
  -            jk_log(l, JK_LOG_INFO,
  -                    "could not find empty cache slot from %d for worker %s"
  -                    ". Rise worker cachesize",
  +            /* XXX: This should never hapen because
  +             * there is always free empty cache slot
  +             */
  +            jk_log(l, JK_LOG_ERROR,
  +                    "could not find empty cache slot from %d for worker %s",
                       w->ep_cache_sz, w->name);
  +            JK_TRACE_EXIT(l);
  +            return JK_FALSE;
           }
   
           jk_log(l, JK_LOG_ERROR,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to