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_uriMap.c
Date Fri, 12 Apr 2002 23:09:50 GMT
costin      02/04/12 16:09:50

  Modified:    jk/native2/common jk_uriMap.c
  Log:
  Don't init invalid uri maps.
  
  Revision  Changes    Path
  1.23      +8 -3      jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c
  
  Index: jk_uriMap.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- jk_uriMap.c	12 Apr 2002 21:49:03 -0000	1.22
  +++ jk_uriMap.c	12 Apr 2002 23:09:50 -0000	1.23
  @@ -67,7 +67,7 @@
    * servlet container.                                                      
    *                                                                         
    * Author:      Gal Shachor <shachor@il.ibm.com>                           
  - * Version:     $Revision: 1.22 $                                           
  + * Version:     $Revision: 1.23 $                                           
    */
   
   #include "jk_pool.h"
  @@ -272,8 +272,13 @@
                                 _this->maps[i]->uri, wname);
               }
           } else {
  -            _this->maps[i]->worker= workerEnv->defaultWorker;
  -            _this->maps[i]->workerName= workerEnv->defaultWorker->mbean->name;
  +            if( _this->maps[i]->uri!= NULL ) {
  +                env->l->jkLog(env, env->l, JK_LOG_ERROR,
  +                              "uriMap.init() map to default worker %s %s\n",
  +                              _this->maps[i]->uri, workerEnv->defaultWorker->mbean->name);
  +                _this->maps[i]->worker= workerEnv->defaultWorker;
  +                _this->maps[i]->workerName= workerEnv->defaultWorker->mbean->name;
  +            }
           }
       }
       
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message