mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Timeout fix.
This commit is contained in:
parent
c6134c346c
commit
c99e16d14a
1 changed files with 1 additions and 0 deletions
|
@ -923,6 +923,7 @@ static void php_message_handler_for_zend(long message, void *data)
|
||||||
void php_on_timeout(int seconds TSRMLS_DC)
|
void php_on_timeout(int seconds TSRMLS_DC)
|
||||||
{
|
{
|
||||||
PG(connection_status) |= PHP_CONNECTION_TIMEOUT;
|
PG(connection_status) |= PHP_CONNECTION_TIMEOUT;
|
||||||
|
zend_set_timeout(EG(timeout_seconds));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if PHP_SIGCHILD
|
#if PHP_SIGCHILD
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue