--- parser3/src/targets/isapi/parser3isapi.C 2001/08/28 10:30:29 1.36 +++ parser3/src/targets/isapi/parser3isapi.C 2001/09/15 14:22:47 1.41 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) */ -static const char *RCSId="$Id: parser3isapi.C,v 1.36 2001/08/28 10:30:29 parser Exp $"; +static const char *RCSId="$Id: parser3isapi.C,v 1.41 2001/09/15 14:22:47 parser Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -27,16 +27,17 @@ static const char *RCSId="$Id: parser3is // SAPI -/** +#ifndef DOXYGEN +/* ISAPI SAPI functions receive this context information. - - @see Pool::set_context + see Pool::set_context */ struct SAPI_func_context { LPEXTENSION_CONTROL_BLOCK lpECB; String *header; DWORD http_response_code; }; +#endif // goes to 'cs-uri-query' log file field. webmaster: switch it ON[default OFF]. void SAPI::log(Pool& pool, const char *fmt, ...) { @@ -212,6 +213,8 @@ BOOL WINAPI GetExtensionVersion(HSE_VERS to do that we need to consult metabase, wich is tested&works but seems slow runtime and not could-be-quickly-implemented if prepared. + @test + PARSER_VERSION from outside */ DWORD WINAPI HttpExtensionProc(LPEXTENSION_CONTROL_BLOCK lpECB) { Pool_storage pool_storage; @@ -219,8 +222,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;