/* We use the exact same header file as the original */
#include <HttpExt.h>
+#if !defined(HSE_REQ_MAP_URL_TO_PATH_EX) \
+ || !defined(HSE_REQ_SEND_RESPONSE_HEADER_EX)
+#pragma message("WARNING: This build of Apache is missing the recent changes")
+#pragma message("in the Microsoft Win32 Platform SDK; some mod_isapi features")
+#pragma message("will be disabled. To obtain the latest Platform SDK files,")
+#pragma message("please refer to:")
+#pragma message("http://msdn.microsoft.com/downloads/sdks/platform/platform.asp")
+#endif
+
/* TODO: Unknown errors that must be researched for correct codes */
#define TODO_ERROR 1
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
+#ifdef HSE_REQ_MAP_URL_TO_PATH_EX
case 1012: /* HSE_REQ_MAP_URL_TO_PATH_EX */
{
/* Map a URL to a filename */
| (subreq->finfo.protection & APR_UEXECUTE ? 0x204 : 0);
return TRUE;
}
+#endif
case 1014: /* HSE_REQ_ABORTIVE_CLOSE */
if (cid->sconf->LogNotSupported)
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
+#ifdef HSE_REQ_SEND_RESPONSE_HEADER_EX
case 1016: /* HSE_REQ_SEND_RESPONSE_HEADER_EX Added in ISAPI 4.0 */
{
LPHSE_SEND_HEADER_EX_INFO shi
return TRUE;
}
+#endif
case 1017: /* HSE_REQ_CLOSE_CONNECTION Added after ISAPI 4.0 */
if (cid->sconf->LogNotSupported)
/* We use the exact same header file as the original */
#include <HttpExt.h>
+#if !defined(HSE_REQ_MAP_URL_TO_PATH_EX) \
+ || !defined(HSE_REQ_SEND_RESPONSE_HEADER_EX)
+#pragma message("WARNING: This build of Apache is missing the recent changes")
+#pragma message("in the Microsoft Win32 Platform SDK; some mod_isapi features")
+#pragma message("will be disabled. To obtain the latest Platform SDK files,")
+#pragma message("please refer to:")
+#pragma message("http://msdn.microsoft.com/downloads/sdks/platform/platform.asp")
+#endif
+
/* TODO: Unknown errors that must be researched for correct codes */
#define TODO_ERROR 1
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
+#ifdef HSE_REQ_MAP_URL_TO_PATH_EX
case 1012: /* HSE_REQ_MAP_URL_TO_PATH_EX */
{
/* Map a URL to a filename */
| (subreq->finfo.protection & APR_UEXECUTE ? 0x204 : 0);
return TRUE;
}
+#endif
case 1014: /* HSE_REQ_ABORTIVE_CLOSE */
if (cid->sconf->LogNotSupported)
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
+#ifdef HSE_REQ_SEND_RESPONSE_HEADER_EX
case 1016: /* HSE_REQ_SEND_RESPONSE_HEADER_EX Added in ISAPI 4.0 */
{
LPHSE_SEND_HEADER_EX_INFO shi
return TRUE;
}
+#endif
case 1017: /* HSE_REQ_CLOSE_CONNECTION Added after ISAPI 4.0 */
if (cid->sconf->LogNotSupported)