You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2008/09/28 14:00:20 UTC

svn commit: r699804 - /tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c

Author: rjung
Date: Sun Sep 28 05:00:19 2008
New Revision: 699804

URL: http://svn.apache.org/viewvc?rev=699804&view=rev
Log:
Simplify setting of HTTP_FILTER_VERSION_STRUCTURE.
The LOG event was missing in the PREPROC_HEADERS case,
and the remaining difference is exactly what we already
have in the iis_info structure.

Modified:
    tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c

Modified: tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c?rev=699804&r1=699803&r2=699804&view=diff
==============================================================================
--- tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c Sun Sep 28 05:00:19 2008
@@ -1155,20 +1155,11 @@
     if (!is_inited) {
         rv = initialize_extension();
     }
-    if (iis_info.filter_notify_event == SF_NOTIFY_AUTH_COMPLETE) {
-        pVer->dwFlags = SF_NOTIFY_ORDER_HIGH |
-                        SF_NOTIFY_SECURE_PORT |
-                        SF_NOTIFY_NONSECURE_PORT |
-                        SF_NOTIFY_PREPROC_HEADERS |
-                        SF_NOTIFY_LOG |
-                        SF_NOTIFY_AUTH_COMPLETE;
-    }
-    else {
-        pVer->dwFlags = SF_NOTIFY_ORDER_HIGH |
-                        SF_NOTIFY_SECURE_PORT |
-                        SF_NOTIFY_NONSECURE_PORT |
-                        SF_NOTIFY_PREPROC_HEADERS;
-    }
+    pVer->dwFlags = SF_NOTIFY_ORDER_HIGH |
+                    SF_NOTIFY_SECURE_PORT |
+                    SF_NOTIFY_NONSECURE_PORT |
+                    SF_NOTIFY_LOG |
+                    iis_info.filter_notify_event;
 
     StringCbCopy(pVer->lpszFilterDesc, SF_MAX_FILTER_DESC_LEN, (VERSION_STRING));
     return rv;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org