php-src/main
Rasmus Lerdorf 6c158374ba exit_on_timeout patch
After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.

This patch does two things.  First, it makes it possible to reset the
timeout without resetting the signal handlers.  This is important for
cases where an extension may have deferred signals in its MINIT in order
to implement critical sections. It also lays the groundwork for cleaning
up our signal handling and perhaps eventually implementing our own
signal deferring mechanism so we can have true critical sections.

The second thing this does is to make it possible to terminate the current
child process (only for Apache1 at the moment) on a timeout.  There are
a number of extensions that are unhappy about being longjmp'ed out of
and when this happens on a timeout they are left in an inconsistent state.
By turning on exit_on_timeout you can now force the process to terminate
on a timeout which will clean up any hanging locks and/or memory left
hanging after the longjmp.
2008-03-18 21:42:50 +00:00
..
streams MFB: Fixed bug #44440 (st_blocks undefined under BeOS) 2008-03-15 10:32:32 +00:00
alloca.c - Fix outside-source-tree builds. Always include generated header files 2005-01-09 21:05:06 +00:00
build-defs.h.in MFH: removed unused macros 2007-07-15 15:10:04 +00:00
config.w32.h - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
fopen_wrappers.c Disable path resolution for filenames with stream wrappers 2008-03-13 14:09:54 +00:00
fopen_wrappers.h Optimized require_once() and include_once() by eliminationg open() syscall on second usage. 2008-03-05 13:34:12 +00:00
getopt.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
internal_functions_nw.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
internal_functions_win32.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
internal_functions.c.in Update copyright year 2007-01-01 19:32:10 +00:00
logos.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
main.c exit_on_timeout patch 2008-03-18 21:42:50 +00:00
mergesort.c removed unwanted NetWare specific changes 2004-09-23 15:57:30 +00:00
network.c MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior 2008-03-11 10:27:10 +00:00
output.c MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
php3_compat.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_compat.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_content_types.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_content_types.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_getopt.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_globals.h exit_on_timeout patch 2008-03-18 21:42:50 +00:00
php_ini.c - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump 2008-02-03 14:35:59 +00:00
php_ini.h - MFH Typo 2008-02-03 14:48:38 +00:00
php_logos.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_logos.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_main.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_memory_streams.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_network.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_open_temporary_file.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_open_temporary_file.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_output.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_reentrancy.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_scandir.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_scandir.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_sprintf.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_streams.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_syslog.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_ticks.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_ticks.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_variables.c [DOC] add request_order INI variable to control $_REQUEST content 2008-03-12 20:24:45 +00:00
php_variables.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
php_version.h Bump version. 2007-09-27 05:24:50 +00:00
php.h MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
reentrancy.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
rfc1867.c MFH: check if return value of write() is -1 and abort upload in this case setting the correct error status 2008-03-14 13:11:12 +00:00
rfc1867.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
safe_mode.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
safe_mode.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
SAPI.c exit_on_timeout patch 2008-03-18 21:42:50 +00:00
SAPI.h exit_on_timeout patch 2008-03-18 21:42:50 +00:00
snprintf.c - MFH Add %Z to *printf 2008-02-07 18:41:35 +00:00
snprintf.h - MFH WS 2008-02-07 12:47:44 +00:00
spprintf.c - MFH Add %Z to *printf 2008-02-07 18:41:35 +00:00
spprintf.h - MFH WS 2008-02-07 12:47:44 +00:00
strlcat.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
strlcpy.c MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
win95nt.h MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00