From c99e16d14a3acf269bac51a9f7235aaa01b57a64 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 9 Aug 2003 23:15:40 +0000 Subject: [PATCH] Timeout fix. --- main/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/main.c b/main/main.c index fc5dc10bd4..ba1cef84c7 100644 --- a/main/main.c +++ b/main/main.c @@ -923,6 +923,7 @@ static void php_message_handler_for_zend(long message, void *data) void php_on_timeout(int seconds TSRMLS_DC) { PG(connection_status) |= PHP_CONNECTION_TIMEOUT; + zend_set_timeout(EG(timeout_seconds)); } #if PHP_SIGCHILD -- 2.50.0