costin      2003/03/04 15:59:23

  Modified:    jk/native2/common jk_worker_ajp13.c
  Log:
  If the route is not set - default to the local name.
  
  Revision  Changes    Path
  1.46      +6 -1      jakarta-tomcat-connectors/jk/native2/common/jk_worker_ajp13.c
  
  Index: jk_worker_ajp13.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_ajp13.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- jk_worker_ajp13.c 4 Mar 2003 07:22:10 -0000       1.45
  +++ jk_worker_ajp13.c 4 Mar 2003 23:59:23 -0000       1.46
  @@ -737,9 +737,14 @@
       if( ajp13->channel == NULL ) {
           env->l->jkLog(env, env->l, JK_LOG_ERROR,
                         "ajp13.init(): No channel %s\n", ajp13->mbean->localName);
  -        return JK_ERR;
  +        /* That's ok - it may be added later */
  +        /*         return JK_ERR; */
       }
   
  +    if( ajp13->route==NULL ) {
  +        /* Default - eventually the naming convention should become mandatory */
  +        ajp13->route=bean->localName;
  +    }
       
       /* Find the groups we are member on and add ourself in
        */
  
  
  

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

Reply via email to