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/jk/native2/common jk_worker_ajp13.c
Date Tue, 04 Mar 2003 23:59:23 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message