Hi,
I need to initialise some structures for each process (in prefork MPM)
when it is created, and need to be able to access these structures in
ap_hook_post_read_request and ap_hook_log_transaction handlers. I
would like to initialise the structures before the first HTTP request
is being served
On 2008-12-22, Andrej van der Zee andrejvander...@gmail.com wrote:
Hi,
I need to initialise some structures for each process (in prefork MPM)
when it is created, and need to be able to access these structures in
ap_hook_post_read_request and ap_hook_log_transaction handlers. I
would like
You hook child_init (ap_hook_child_init) and store your data in global
variables that are accessed by post_read_request and log_transaction.
Easy enough.
Thanks,
Andrej
Hi,
You hook child_init (ap_hook_child_init) and store your data in global
variables that are accessed by post_read_request and log_transaction.
BTW, in a worker-MPM, is child_init executed for every created
worker-thread? Or is it per process?
Thank you,
Andrej
On 22-Dec-08, at 6:49 PM, Andrej van der Zee wrote:
Hi,
You hook child_init (ap_hook_child_init) and store your data in
global
variables that are accessed by post_read_request and log_transaction.
BTW, in a worker-MPM, is child_init executed for every created
worker-thread? Or is it
Hello.
ap_regexec() do not match multi line strings without AP_REG_NEWLINE
flag, but it should.
For example i have string:
SELECT\r\nstate.SECNAME,\r\nstate.SHORTNAME,\r\n
state.LATNAME,\r\nstate.DECIMALS,\r\nstate.PREVPRICE,\r\n
realtime.BOARDID as BOARDID,\r\n
On Dec 22, 2008, at 4:48 AM, Sorin Manolache wrote:
You hook child_init (ap_hook_child_init) and store your data in global
variables that are accessed by post_read_request and log_transaction.
Global variables are fine if your module will never run multithreaded,
or you won't write to the
On Fri, Dec 19, 2008 at 9:06 PM, Pranav Desai pranavade...@gmail.com wrote:
On Thu, Dec 18, 2008 at 2:34 AM, Graham Leggett minf...@sharp.fm wrote:
Pranav Desai wrote:
Yeah, the application changes are restricted to a few lines. I believe
you mean the connect_backend() and not the
Yes, unless until we clearly understand that volatile is not useful here, we
should keep it.
Regards,
Basant.
On Fri, Dec 12, 2008 at 02:57:03PM -0800, Chris Darroch wrote:
Ruediger Pluem wrote:
Not quite sure if this is really correct because apr_atomic_casptr
wants to have a (volatile
* Transient bucket seems to be working fine in mod_sed.
* Added error handling code so that if ap_pass_brigade fails during
request processing, error is returned to sed_response_filter /
sed_request_filter.
Testing :
* Compiled with 2.2 branch and make sure there is no regression (against
10 matches
Mail list logo