#14542 [Ver]: register_shutdown_function() timeout problem

From: Date: Sat, 11 Jan 2003 04:23:58 +0000
Subject: #14542 [Ver]: register_shutdown_function() timeout problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29747@lists.php.net to get a copy of this message
ID: 14542 Updated by: nicos@php.net Reported By: dward@maidencreek.com Status: Verified Bug Type: Scripting Engine problem Operating System: Linux 2.4.5 -PHP Version: 4.3.0-dev +PHP Version: 4.3.0 New Comment: Verified with latest CVS and 4.3.0. Previous Comments: ------------------------------------------------------------------------ [2002-12-08 10:38:04] sniper@php.net Verified with 4.3.0-dev at this date. ------------------------------------------------------------------------ [2002-06-16 00:11:57] sniper@php.net reclassified. ------------------------------------------------------------------------ [2002-04-27 19:09:27] sniper@php.net It's not fixed.. ------------------------------------------------------------------------ [2002-04-27 10:08:11] rasmus@php.net Fixed in CVS ------------------------------------------------------------------------ [2002-04-25 16:07:25] charmaine.tian@contec-innovations.com The cause of the bug is that the following code is commented out in the timeout handler (zend_timeout() in zend_execute_API): /* is there any point in this? we're terminating the request anyway... PG(connection_status) |= PHP_CONNECTION_TIMEOUT; */ In our case, we need this error status to be set correctly. We want to be able to detect the error when a script is terminated due to timeout. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14542 -- Edit this bug report at http://bugs.php.net/?id=14542&edit=1

« previous php.bugs (#29747) next »