summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-08-30 18:06:17 +0000
committerZeev Suraski <zeev@php.net>2000-08-30 18:06:17 +0000
commit47f8af85f5ba97cd247b27dc8ee625ffbf1b93dd (patch)
tree52cefe1106de3026a92687656616552f78c21925 /main/main.c
parent0e482b1b30de3fec60d438e9cf3c1d7b4346a0f1 (diff)
downloadphp-git-47f8af85f5ba97cd247b27dc8ee625ffbf1b93dd.tar.gz
This is no longer relevant...
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/main/main.c b/main/main.c
index 38f0d8c841..735d6c1b3c 100644
--- a/main/main.c
+++ b/main/main.c
@@ -473,16 +473,6 @@ PHP_FUNCTION(set_time_limit)
}
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));
}