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/native/common jk_registry.c jk_ajp13_worker.c
Date Mon, 26 Nov 2001 17:08:17 GMT
costin      01/11/26 09:08:17

  Modified:    jk/native/common jk_registry.c
  Removed:     jk/native/common jk_ajp13_worker.c
  Log:
  Use jk_ajp14_worker.c for both ajp13 and ajp14 protocol types.
  
  The code will work fine with any - if no login is specified we'll use only the
  'basic' callbacks ( i.e. ajp13 ), if a login is specified we'll do all the new ajp14 stuff.
  
  This eliminates tons of duplicated code and simplifies a lot the code, allowing
  for more modularisation and better implementation.
  
  Revision  Changes    Path
  1.8       +2 -2      jakarta-tomcat-connectors/jk/native/common/jk_registry.c
  
  Index: jk_registry.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_registry.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk_registry.c	2001/11/21 00:09:56	1.7
  +++ jk_registry.c	2001/11/26 17:08:17	1.8
  @@ -62,7 +62,7 @@
   
   /***************************************************************************
    * Description: Worker list                                                *
  - * Version:     $Revision: 1.7 $                                           *
  + * Version:     $Revision: 1.8 $                                           *
    ***************************************************************************/
   
   /** Static declarations for all 'hardcoded' modules. This is a hack, 
  @@ -132,7 +132,7 @@
   #ifdef AJP12
     env->registerFactory( env, "worker", "ajp12", &ajp12_worker_factory );
   #endif
  -  env->registerFactory( env, "worker", "ajp13", &ajp13_worker_factory );
  +  env->registerFactory( env, "worker", "ajp13", &ajp14_worker_factory );
     env->registerFactory( env, "worker", "ajp14", &ajp14_worker_factory );
     env->registerFactory( env, "worker", "lb",    &lb_worker_factory );
   #ifdef HAVE_JNI
  
  
  

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