been digging very deeply in Apache source code and i am pretty clueless now.
Thanks in advance for your attention.
Luca Regini
I add an input filter with an ap_add_input_filter from an ap_hook_header_parser hook. My filter doesn't get called, i guess probably because we are too far in the request processing cycle. Sadly this filter needs perdirectoryconfig information that is not available within previous hooks. So shall
in advance for your attention.
Luca
On 6/22/05, Nick Kew [EMAIL PROTECTED] wrote:
luca regini wrote: I need to write an input filter that is able to change the value of some cookies. However the name of the cookie to be changed is a per- directory
value. So i have an input filter whose behavior
I need to write an input filter that is able to change the value of some cookies. However the name of the cookie to be changed is a per- directory value. So i have an input filter whose behavior depends programmatically from per-directory configuration. How should i gain information about per -dir
I am not able to find any example of use of this hook to alter the value of a cookie. For my ( limited and erroneous) understanding an hook cannot alter requestsnor produce content. Thisare tasks made for filters.
Luca
On 6/22/05, Nick Kew [EMAIL PROTECTED] wrote:
luca regini wrote: I need
I add to my previous mail that thectx parameter in the ap_add_output_filter function can be used to pass an arbitrary structure to the filter. So this should be the right place to pass information to the filter.
Luca
On 6/22/05, Nick Kew [EMAIL PROTECTED] wrote:
luca regini wrote: I need
The problem shows itself with the following simple module.When the hook is of type ap_hook_post_read_request per dir configuration is not instantiated correctly and debug has always value -1. With other kinds of hooks the debug variable is correctly is instantiated with the various values found in
When i run an apr_shm_create(filename) even for the first time i
always get an APR_EEXIST return value, even if i am sure that no
previous filename exists.
I checked that apr_shm_create(filename) manages to create filename
on the filesystem but any subsequent call to apr_shm_attach fails to
the source code to the
group if there is some interest in it. If i manage to build a generic
solution for the web service caching module i will release this source
code also.
Luca
On Tue, 08 Mar 2005 16:08:58 +0100, Matthieu Estrade
[EMAIL PROTECTED] wrote:
luca regini wrote:
Taking a look
My understanding about per server conf is that any structure allocated
in the server config handler should have a lifetime that is the same
as the one of the module. So the server config structure should be an
ideal place for caching values. Anyway in the following simple module
the dbg counter is
Taking a look at mod_mem_cache source code i have seen that it doesn't
use pools to allocate cache objects but i does so by means of
reference counting and simple calloc/free calls. I have also seen
that this module requires a Threaded apr to work. I am wondering the
reasons of this design
[EMAIL PROTECTED] wrote:
On Tue, 8 Mar 2005, luca regini wrote:
My understanding about per server conf is that any structure allocated
in the server config handler should have a lifetime that is the same as
the one of the module. So the server config structure should be an ideal
place
I can't find anywhere an explanation about external hooks and the use
of the APR_DECLARE_EXTERNAL_HOOK macro. Is there anyone that has some
experience with them and can provide clarifications??
Thanks in advance.
Luca
13 matches
Mail list logo