tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c
Date Mon, 03 Jun 2002 11:24:26 GMT
hgomez      2002/06/03 04:24:25

  Modified:    jk/native2/server/apache2 mod_jk2.c
  Log:
  Others apache 2.0 modules use ap_add_version_component in
  post config phase (ie DAV2).
  Having it done in child init make it appears too late to
  be present in error.log.
  
  Revision  Changes    Path
  1.32      +6 -2      jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c
  
  Index: mod_jk2.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- mod_jk2.c	1 Jun 2002 15:40:09 -0000	1.31
  +++ mod_jk2.c	3 Jun 2002 11:24:25 -0000	1.32
  @@ -59,7 +59,7 @@
    * Description: Apache 2 plugin for Jakarta/Tomcat                         *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
    *                 Henri Gomez <hgomez@slib.fr>                               *
  - * Version:     $Revision: 1.31 $                                           *
  + * Version:     $Revision: 1.32 $                                           *
    ***************************************************************************/
   
   /*
  @@ -412,7 +412,8 @@
   {
       workerEnv->init(env, workerEnv );
       workerEnv->server_name   = (char *)ap_get_server_version();
  -    ap_add_version_component(pconf, JK_EXPOSED_VERSION);
  +    /* Should be done in post config instead (cf DAV2) */
  +    /* ap_add_version_component(pconf, JK_EXPOSED_VERSION); */
       return NULL;
   }
   
  @@ -464,6 +465,9 @@
       
       if(s->is_virtual) 
           return OK;
  +
  +    /* Other apache 2.0 modules add version info at post_config */
  +    ap_add_version_component(pconf, JK_EXPOSED_VERSION);
   
       env=workerEnv->globalEnv;
       
  
  
  

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