Jeff Trawick wrote:
See http://www.apache.org/~trawick/exception_hook_13.html

There is a small patch to Apache 1.3 required to make the sample modules work. This is analogous to the toys using the Apache 2.1 exception hook which are described at http://www.apache.org/~trawick/exception_hook.html.

(trying to make progress without spinning wheels in mud :) )


Here is a change I propose for the core patch to address some of the concerns (when to enable it):

basically the patch listed above, but:

1) automatically define AP_ENABLE_EXCEPTION_HOOK in ap_config.h for platforms that have been tested (AIX, Linux, Solaris already and I'll test HP-UX before long)

2) user can still enable it for other platforms by defining AP_ENABLE_EXCEPTION_HOOK for the configure step

3) when AP_ENABLE_EXCEPTION_HOOK is defined, a new directive
EnableExceptionHook {on|off}
which defaults to "off" must be used to tell sig_coredump() to call such hooks.


Any objections?

Reply via email to