Module exceptions can be handled before it crashes httpd?

2013-05-27 Thread Sindhi Sindhi
Hello, Is there a way to handle the exceptions (access violation, heap corruption etc) thrown by an output filter module within the module itself so that it does not propagate till the httpd.exe server resulting in a server crash? The C++ output filter module that I have written makes use of

Re: svn commit: r1482918 - in /httpd/httpd/trunk: modules/http/http_filters.c server/protocol.c

2013-05-27 Thread Guenter Knauf
Hi Graham, seems you forgot to add a log number at line 1541: On 15.05.2013 17:46, minf...@apache.org wrote: Author: minfrin Date: Wed May 15 15:46:01 2013 New Revision: 1482918 URL: http://svn.apache.org/r1482918 Log: core: Stop ap_finalize_request_protocol() and ap_get_client_block() from

[PATCH] Make error logging modular

2013-05-27 Thread Jan Kaluža
Hi, last week I was trying to write my own module to log error_log to systemd-journal [1] and I've found out that with the current error_log code, it's not possible to do that properly. I was able to use error_log hook, but there is no way to disable creation of ErrorLog file (One can set

apr_atomic functions usage

2013-05-27 Thread kalyan sita
I see that the below functions have specific assembly implementations for os32,ia32 architectures: apr_atomic_add32 apr_atomic_sub32 apr_atomic_inc32 apr_atomic_dec32 apr_atomic_set32 apr_atomic_cas32 apr_atomic_casptr apr_atomic_xchg32 apr_atomic_xchgptr How frequently are these functions used.

profiling an apache httpd -X process

2013-05-27 Thread kalyan sita
Hi all, I am able to debug the httpd -X process using eclipse gdb debugger But I am not able to profile the same. I am able to profile only a command line application . Can anyone pl help me out in profile the application with httpd -X process. Thanks, kalyan

Re: apr_atomic functions usage

2013-05-27 Thread Ben Reser
On Mon, May 27, 2013 at 8:42 PM, kalyan sita kalyansit...@gmail.com wrote: I see that the below functions have specific assembly implementations for os32,ia32 architectures: apr_atomic_add32 apr_atomic_sub32 apr_atomic_inc32 apr_atomic_dec32 apr_atomic_set32 apr_atomic_cas32