On Sat, May 19, 2001 at 08:12:06PM -0000, [EMAIL PROTECTED] wrote:
>...
>    static void register_hooks(apr_pool_t *p)
>    {
>   -    ap_hook_fixups(fixup_headers, NULL, NULL, APR_HOOK_MIDDLE);
>   -} 
>   +    ap_hook_insert_filter(ap_headers_insert_output_filter, NULL, NULL, 
>APR_HOOK_LAST);
>   +    ap_hook_fixups(ap_headers_fixup, NULL, NULL, APR_HOOK_LAST);
>   +    ap_register_output_filter("FIXUP_HEADERS_OUT", ap_headers_output_filter, 
>AP_FTYPE_CONTENT);
>   +}

Is there a particular reason that the insert_filter call and the fixups need
to be APR_HOOK_LAST? If not, then it would be "better" to use
APR_HOOK_MIDDLE.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to