cvs: php4 /main main.c
| From: | Zeev Suraski | Date: | Wed, 30 Aug 2000 18:06:17 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1458@lists.php.net to get a copy of this message | ||
zeev Wed Aug 30 11:06:17 2000 EDT
Modified files:
/php4/main main.c
Log:
This is no longer relevant...
Index: php4/main/main.c
diff -u php4/main/main.c:1.305 php4/main/main.c:1.306
--- php4/main/main.c:1.305 Wed Aug 30 11:02:00 2000
+++ php4/main/main.c Wed Aug 30 11:06:17 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.305 2000/08/30 18:02:00 zeev Exp $ */
+/* $Id: main.c,v 1.306 2000/08/30 18:06:17 zeev Exp $ */
#include <stdio.h>
@@ -473,16 +473,6 @@
}
convert_to_long_ex(new_timeout);
- /* FIXME ** This is BAD...in a threaded situation, any user
- can set the timeout for php on a server wide basis.
- INI variables should not be reset via a user script
-
- Fix what? At least on Unix, timers like these are
- per-thread timers. Well, with a little work they will
- be. If we use a bound thread and proper masking it
- should work fine. Is this FIXME a WIN32 problem? Is
- there no way to do per-thread timers on WIN32?
- */
zend_unset_timeout();
zend_set_timeout(Z_LVAL_PP(new_timeout));
}