mturk       2005/09/12 05:54:31

  Modified:    jk/native/iis jk_isapi_plugin.c
  Log:
  Fix bug #36102 by using anon shared memory on windows.
  IIS can launch multiple child processes, so we need to share
  the date between them all.
  
  Revision  Changes    Path
  1.50      +3 -3      jakarta-tomcat-connectors/jk/native/iis/jk_isapi_plugin.c
  
  Index: jk_isapi_plugin.c
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native/iis/jk_isapi_plugin.c,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- jk_isapi_plugin.c 18 May 2005 18:04:53 -0000      1.49
  +++ jk_isapi_plugin.c 12 Sep 2005 12:54:31 -0000      1.50
  @@ -40,7 +40,7 @@
   #include "jk_shm.h"
   
   #define VERSION_STRING "Jakarta/ISAPI/" JK_VERSTRING
  -
  +#define SHM_DEF_NAME   "JKISAPISHMEM"
   #define DEFAULT_WORKER_NAME ("ajp13")
   /*
    * We use special headers to pass values from the filter to the
  @@ -1117,7 +1117,7 @@
        /* Simulate shared memory
         * For now use fixed size.
         */
  -     jk_shm_open(NULL, JK_SHM_DEF_SIZE, logger);
  +     jk_shm_open(SHM_DEF_NAME, JK_SHM_DEF_SIZE, logger);
   
        /* 10 is minimum supported on WINXP */
        jk_set_worker_def_cache_size(10);
  
  
  

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

Reply via email to