httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jodi Bosa <jodib...@gmail.com>
Subject Re: Filter to modify request headers
Date Tue, 25 Jan 2011 22:40:26 GMT
here is another related example:

inside a post_read_request hook, I call ap_add_input_filter() - but it
doesn't execute.

What am I missing?



ap_hook_post_read_request(insert_my_filters, NULL, NULL, APR_HOOK_FIRST);


On Tue, Jan 25, 2011 at 5:22 PM, Jodi Bosa <jodibosa@gmail.com> wrote:

> Hi,
>
> What would be a good early hook to modify request headers that is _AFTER_
> mod_ssl is finished decrypting request?
>
>
> When I do a ap_add_input_filter() from a ap_hook_insert_filter() seems to
> trigger really late (e.g. after quick_handler, post_read, etc...).
>
>
> Ideally, I would prefer working with the simpler request_rec (and headers
> tables) but I suspect I need to work with bucket brigades to be able to
> change/affect the actual header values for other filters/handlers and so
> need to be earlier.
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message