Author: markt
Date: Sun Feb  5 10:47:44 2006
New Revision: 375077

URL: http://svn.apache.org/viewcvs?rev=375077&view=rev
Log:
Fix IIS logging problem where data from a previous request was re-used instead 
of the correct data for the current request.

Modified:
    tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
    tomcat/connectors/trunk/jk/xdocs/changelog.xml

Modified: tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
URL: 
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c?rev=375077&r1=375076&r2=375077&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c Sun Feb  5 10:47:44 
2006
@@ -935,6 +935,12 @@
                     if (query && strlen(query) > 0)
                         strcpy(ld->query, query);
                     pfc->pFilterContext = ld;
+                } else {
+                    isapi_log_data_t *ld = (isapi_log_data_t 
*)pfc->pFilterContext;
+                    memset(ld, 0, sizeof(isapi_log_data_t));
+                    strcpy(ld->uri, forwardURI);
+                    if (query && strlen(query) > 0)
+                        strcpy(ld->query, query);
                 }
             }
             else {

Modified: tomcat/connectors/trunk/jk/xdocs/changelog.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jk/xdocs/changelog.xml?rev=375077&r1=375076&r2=375077&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/changelog.xml Sun Feb  5 10:47:44 2006
@@ -21,6 +21,18 @@
   new documentation project for JK was started.
   </p>
 </section>
+<section name="Changes from the released JK 1.2.16">
+  <br />
+  <subsection name="Native">
+    <changelog>
+      <fix>
+      ISAPI plugin (isapi_redirect.dll) did not provide correct request data
+      for IIS
+ to include in the IIS log. (markt)
+      </fix>
+    </changelog>
+  </subsection>
+</section>
 <section name="Changes from the released JK 1.2.15">
   <br />
   <subsection name="Native">



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

Reply via email to