--- parser3/src/targets/isapi/parser3isapi.C 2002/08/23 07:32:25 1.79 +++ parser3/src/targets/isapi/parser3isapi.C 2003/01/21 15:51:17 1.82 @@ -1,11 +1,11 @@ /** @file Parser: IIS extension. - Copyright (c) 2000,2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2000,2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3ISAPI_C="$Date: 2002/08/23 07:32:25 $"; +static const char* IDENT_PARSER3ISAPI_C="$Date: 2003/01/21 15:51:17 $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -91,7 +91,8 @@ void SAPI::die(const char *fmt, ...) { vfprintf(log, fmt, args); fclose(log); } - exit(1); + // exit & try to produce core dump + abort(); } const char *SAPI::get_env(Pool& pool, const char *name) { @@ -423,7 +424,7 @@ inline DWORD RealHttpExtensionProc(LPEXT SAPI_func_context ctx={ lpECB, 0, // filling later: so that if there would be error pool would have ctx - 200 // default http_response_code + 200 // default http_response_code [lpECB->dwHttpStatusCode seems to be always 0, even on 404 redirect to /404.html] }; pool.set_context(&ctx);// no allocations before this line!