You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by NormW <no...@bocnet.com.au> on 2004/03/10 00:23:00 UTC
PATCH jk_uriEnv.c - duplicated GET property
Good morning All.
In jk_uriEnv.c, the getAttr function presently supports both "uri" and
"path" as properties. However both 'properties' return the same value,
namely uriEnv->uri.
This patch removes "path" from the getAttr properties list only, the nett
affect being that one less (duplicated) column would be displayed on the
/jkstatus page for runtime uri's.
A search of the source indicates no specific GET's using the "path" property
and only mod_jk2 uses the setAttr "path" property, which is not affected by
this patch.
Norm
----------------------------------------------------------------------------
--- jk_uriEnv.c.orig Sat Feb 28 07:05:06 2004
+++ jk_uriEnv.c Wed Mar 10 10:09:14 2004
@@ -175,7 +175,8 @@
static char *getAttInfo[]={ "host", "uri", "group", "context",
"inheritGlobals",
"match_type",
- "servlet", "timing", "aliases", "path", NULL };
+ "servlet", "timing", "aliases", NULL };
+/* "servlet", "timing", "aliases", "path",
NULL }; */
static char *setAttInfo[]={ "host", "uri", "group", "context",
"inheritGlobals",
"servlet", "timing", "alias", "path", NULL };
----------------------------------------------------------------------------