summaryrefslogtreecommitdiff
path: root/sapi/isapi/php4isapi.c
diff options
context:
space:
mode:
authorBen Mansell <joosters@php.net>2001-03-06 15:09:15 +0000
committerBen Mansell <joosters@php.net>2001-03-06 15:09:15 +0000
commita40f208ab802ba353e80dd01597c0bc210f3a415 (patch)
tree9ca48dc4cb3f01254b61485ac82d618060b070b5 /sapi/isapi/php4isapi.c
parent5d6cb2fc325fa883f9fbf132fe9eb37db3587aa2 (diff)
downloadphp-git-a40f208ab802ba353e80dd01597c0bc210f3a415.tar.gz
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 ----------------------------------------------------------------------
Diffstat (limited to 'sapi/isapi/php4isapi.c')
-rw-r--r--sapi/isapi/php4isapi.c6
1 files changed, 5 insertions, 1 deletions
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);