mturk 2005/02/25 01:40:05 Modified: jk/native/iis jk_isapi_plugin.c Log: Add default cache size for IIS. Revision Changes Path 1.42 +17 -14 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.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- jk_isapi_plugin.c 21 Feb 2005 09:29:34 -0000 1.41 +++ jk_isapi_plugin.c 25 Feb 2005 09:40:05 -0000 1.42 @@ -362,20 +362,20 @@ */ static char *stristr(const char *s, const char *find) { - char c, sc; - size_t len; + char c, sc; + size_t len; - if ((c = tolower((unsigned char)(*find++))) != 0) { - len = strlen(find); - do { - do { - if ((sc = tolower((unsigned char)(*s++))) == 0) - return (NULL); - } while (sc != c); - } while (strnicmp(s, find, len) != 0); - s--; - } - return ((char *)s); + if ((c = tolower((unsigned char)(*find++))) != 0) { + len = strlen(find); + do { + do { + if ((sc = tolower((unsigned char)(*s++))) == 0) + return (NULL); + } while (sc != c); + } while (strnicmp(s, find, len) != 0); + s--; + } + return ((char *)s); } static int uri_is_web_inf(const char *uri) @@ -1037,6 +1037,9 @@ */ jk_shm_open(NULL, JK_SHM_DEF_SIZE, logger); + /* 10 is minimum supported on WINXP */ + jk_set_worker_def_cache_size(10); + /* Logging the initialization type: registry or properties file in virtual dir */ if (JK_IS_DEBUG_LEVEL(logger)) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]