From a40f208ab802ba353e80dd01597c0bc210f3a415 Mon Sep 17 00:00:00 2001 From: Ben Mansell Date: Tue, 6 Mar 2001 15:09:15 +0000 Subject: [PATCH] Thread hashtable was being initialized with a size of 1! Changed to 128 as a more sensible number. # Also could change the 'expected resources' parameter from 1, but I # haven't tested that bit yet ---------------------------------------------------------------------- --- sapi/isapi/php4isapi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c index f412f860c5..ac299b715c 100644 --- a/sapi/isapi/php4isapi.c +++ b/sapi/isapi/php4isapi.c @@ -770,7 +770,11 @@ __declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, L { switch (fdwReason) { case DLL_PROCESS_ATTACH: - tsrm_startup(1, 1, TSRM_ERROR_LEVEL_CORE, "C:\\TSRM.log"); +#ifdef WITH_ZEUS + tsrm_startup(128, 1, TSRM_ERROR_LEVEL_CORE, "TSRM.log"); +#else + tsrm_startup(128, 1, TSRM_ERROR_LEVEL_CORE, "C:\\TSRM.log"); +#endif sapi_startup(&isapi_sapi_module); if (isapi_sapi_module.startup) { isapi_sapi_module.startup(&sapi_module); -- 2.50.1