Timeout fix.

This commit is contained in:
Ilia Alshanetsky 2003-08-09 23:15:40 +00:00
parent c6134c346c
commit c99e16d14a

View file

@ -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