From e10ba6e9458c6065f5a39f8b25c064b3526df761 Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Sat, 30 May 2009 09:47:39 +0000 Subject: [PATCH] Make sure the timeout is checked in the shutdown function, patch from Etienne --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index a5736e9314..f05e63b63d 100644 --- a/main/main.c +++ b/main/main.c @@ -1378,7 +1378,7 @@ static void php_message_handler_for_zend(long message, void *data TSRMLS_DC) void php_on_timeout(int seconds TSRMLS_DC) /* {{{ */ { PG(connection_status) |= PHP_CONNECTION_TIMEOUT; - zend_set_timeout(EG(timeout_seconds), 0); + zend_set_timeout(EG(timeout_seconds), 1); if(PG(exit_on_timeout)) sapi_terminate_process(TSRMLS_C); } /* }}} */ -- 2.50.1