cvs: php4 /sapi/isapi php4isapi.c
| From: | Ben Mansell | Date: | Tue, 06 Mar 2001 15:09:15 +0000 |
| Subject: | cvs: php4 /sapi/isapi php4isapi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4409@lists.php.net to get a copy of this message | ||
joosters Tue Mar 6 07:09:15 2001 EDT
Modified files:
/php4/sapi/isapi php4isapi.c
Log:
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
----------------------------------------------------------------------
Index: php4/sapi/isapi/php4isapi.c
diff -u php4/sapi/isapi/php4isapi.c:1.68 php4/sapi/isapi/php4isapi.c:1.69
--- php4/sapi/isapi/php4isapi.c:1.68 Tue Feb 27 05:29:21 2001
+++ php4/sapi/isapi/php4isapi.c Tue Mar 6 07:09:15 2001
@@ -770,7 +770,11 @@
{
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);