cvs: php-src(PHP_4_3) /main main.c
| From: | Ilia Alshanetsky | Date: | Sat, 09 Aug 2003 23:15:21 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23059@lists.php.net to get a copy of this message | ||
iliaa Sat Aug 9 19:15:21 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/main main.c
Log:
MFH: timeout fix
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.512.2.44 php-src/main/main.c:1.512.2.45
--- php-src/main/main.c:1.512.2.44 Thu Jul 31 19:00:21 2003
+++ php-src/main/main.c Sat Aug 9 19:15:19 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.512.2.44 2003/07/31 23:00:21 iliaa Exp $ */
+/* $Id: main.c,v 1.512.2.45 2003/08/09 23:15:19 iliaa Exp $ */
/* {{{ includes
*/
@@ -865,6 +865,7 @@
void php_on_timeout(int seconds TSRMLS_DC)
{
PG(connection_status) |= PHP_CONNECTION_TIMEOUT;
+ zend_set_timeout(EG(timeout_seconds));
}
#if PHP_SIGCHILD