|
|
| version 1.95, 2005/11/22 12:48:40 | version 1.97, 2006/04/09 13:38:47 |
|---|---|
| Line 19 static const char * const IDENT_PARSER3I | Line 19 static const char * const IDENT_PARSER3I |
| #include "pa_version.h" | #include "pa_version.h" |
| #include "pa_socks.h" | #include "pa_socks.h" |
| #define WINVER 0x0400 | |
| #include <windows.h> | #include <windows.h> |
| #include <process.h> | #include <process.h> |
| Line 273 static bool parser_init() { | Line 274 static bool parser_init() { |
| // successful finish | // successful finish |
| return true; | return true; |
| } catch(const Exception& e) { // global problem | } catch(.../*const Exception& e*/) { // global problem |
| //const char* body=e.comment(); | //const char* body=e.comment(); |
| // unsuccessful finish | // unsuccessful finish |
| Line 317 BOOL WINAPI TerminateExtension( | Line 318 BOOL WINAPI TerminateExtension( |
| @test | @test |
| PARSER_VERSION from outside | PARSER_VERSION from outside |
| */ | */ |
| #ifndef PA_DEBUG_DISABLE_GC | |
| extern long GC_large_alloc_warn_suppressed; | |
| #endif | |
| void real_parser_handler(SAPI_Info& SAPI_info, bool header_only) { | void real_parser_handler(SAPI_Info& SAPI_info, bool header_only) { |
| // collect garbage from prev request | // collect garbage from prev request |
| #ifndef PA_DEBUG_DISABLE_GC | #ifndef PA_DEBUG_DISABLE_GC |
| Line 329 void real_parser_handler(SAPI_Info& SAPI | Line 326 void real_parser_handler(SAPI_Info& SAPI |
| GC_dont_gc=0; | GC_dont_gc=0; |
| GC_gcollect(); | GC_gcollect(); |
| GC_dont_gc=saved; | GC_dont_gc=saved; |
| GC_large_alloc_warn_suppressed=0; | |
| } | } |
| #endif | #endif |
| Line 394 void real_parser_handler(SAPI_Info& SAPI | Line 390 void real_parser_handler(SAPI_Info& SAPI |
| snprintf(config_filespec, MAX_STRING, | snprintf(config_filespec, MAX_STRING, |
| "%s/%s", | "%s/%s", |
| beside_binary_path, AUTO_FILE_NAME); | beside_binary_path, AUTO_FILE_NAME); |
| bool fail_on_config_read_problem=true;//entry_exists(config_filespec); | bool fail_on_config_read_problem=entry_exists(config_filespec); |
| // process the request | // process the request |
| request.core( | request.core( |