--- parser3/src/targets/isapi/parser3isapi.C 2001/09/13 07:41:45 1.38.4.1 +++ parser3/src/targets/isapi/parser3isapi.C 2001/09/26 10:32:26 1.44 @@ -2,15 +2,17 @@ Parser: IIS extension. Copyright (c) 2000,2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + + $Id: parser3isapi.C,v 1.44 2001/09/26 10:32:26 parser Exp $ */ -static const char *RCSId="$Id: parser3isapi.C,v 1.38.4.1 2001/09/13 07:41:45 parser Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] #endif +#include "pa_config_includes.h" + #include #include @@ -25,6 +27,24 @@ static const char *RCSId="$Id: parser3is #define MAX_STATUS_LENGTH sizeof("xxxx LONGEST STATUS DESCRIPTION") +// consts + +extern const char *main_RCSIds[]; +extern const char *smtp_RCSIds[]; +extern const char *gd_RCSIds[]; +extern const char *classes_RCSIds[]; +extern const char *types_RCSIds[]; +extern const char *parser3isapi_RCSIds[]; +const char **RCSIds[]={ + main_RCSIds, + smtp_RCSIds, + gd_RCSIds, + classes_RCSIds, + types_RCSIds, + parser3isapi_RCSIds, + 0 +}; + // SAPI #ifndef DOXYGEN @@ -222,8 +242,9 @@ DWORD WINAPI HttpExtensionProc(LPEXTENSI SAPI_func_context ctx={ lpECB, 0, // filling later: so that if there would be error pool would have ctx - 200 + 200 // default http_response_code }; + _asm nop; // int 3; pool.set_context(&ctx);// no allocations before this line! bool header_only=strcasecmp(lpECB->lpszMethod, "HEAD")==0;