jfclere 2004/03/04 06:08:49
Modified: jk/native2/server/apache2 mod_jk2.c
Log:
Don't call mapUri if translate has already filled uriEnv.
Revision Changes Path
1.74 +6 -1 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.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- mod_jk2.c 4 Mar 2004 12:01:48 -0000 1.73
+++ mod_jk2.c 4 Mar 2004 14:08:49 -0000 1.74
@@ -815,6 +815,11 @@
return DECLINED;
}
+ /* If already mapped by translate just returns OK */
+ uriEnv = ap_get_module_config( r->request_config, &jk2_module );
+ if (uriEnv!=NULL && uriEnv->workerName != NULL)
+ return OK;
+
/* From something like [uri:/examples/STAR] in workers2.properties */
env = workerEnv->globalEnv->getEnv( workerEnv->globalEnv );
uriEnv=workerEnv->uriMap->mapUri(env, workerEnv->uriMap,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]