]> granicus.if.org Git - php/commitdiff
MFH: timeout fix
authorIlia Alshanetsky <iliaa@php.net>
Sat, 9 Aug 2003 23:15:19 +0000 (23:15 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sat, 9 Aug 2003 23:15:19 +0000 (23:15 +0000)
main/main.c

index f47a17e7847e825fcf3d0aac1480d385e4ec7a8d..9a0aaa174d7bb1d4b9b495af6970e6a1344c1b02 100644 (file)
@@ -865,6 +865,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