httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <>
Subject RE: [REPOST] [PATCH] Implement ap_init_filter_func
Date Mon, 17 Jun 2002 12:25:55 GMT
> Q: Do all filters need to change?
> A: As indicated in the patch below, most filters (those that are
> deterministic based on the file) do not need to do anything other
> than add a NULL parameter to the filter registration function.  The
> rationale for making this part of the filter_rec rather than as a
> hook is that multiple hooks of the same type per file are not
> allowed (AIUI), while it is possible to have multiple filters per
> file.  This allows separate init functions for input and output
> filters (but also the same!).

Multiple hooks of the same type are certainly allowed in the same file.
The reason for not doing this as a hook was covered earlier when
discussing the insert_filters hook.


View raw message