You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by barries <ba...@slaysys.com> on 2001/07/16 01:03:19 UTC

Re: cvs commit: modperl-2.0/xs/Apache/Filter Apache__Filter.h

On Sun, Jul 15, 2001 at 10:33:50PM -0000, dougm@apache.org wrote:
>   +static int modperl_filter_register_request(request_rec *r,

<snip>

>   +                if (*name == 'M' && strEQ(name, name)) {

strEQ(name, name)?

>   -#define MP_INPUT_FILTER_MESSAGE 0x01
>   -#define MP_INPUT_FILTER_BODY    0x02
>   +#define MP_FILTER_CONNECTION_HANDLER 0x01
>   +#define MP_FILTER_REQUEST_HANDLER    0x02

That sounds better to me now, FW little IW.

>   -sub handler : InputFilterBody {
>   +sub handler : FilterRequestHandler {

What differentiates input vs. output now? Or is that yet to come...

- Barrie

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: cvs commit: modperl-2.0/xs/Apache/Filter Apache__Filter.h

Posted by Doug MacEachern <do...@covalent.net>.
On Sun, 15 Jul 2001, barries wrote:
 
> >   +                if (*name == 'M' && strEQ(name, name)) {
> 
> strEQ(name, name)?

whoops, good catch, fixed.
 
> That sounds better to me now, FW little IW.

cool.
 
> >   -sub handler : InputFilterBody {
> >   +sub handler : FilterRequestHandler {
> 
> What differentiates input vs. output now? Or is that yet to come...

the Perl{Input,Output}FilterHandler configuration directives.  the
attributes are currently just used as a way to specify when the filter
should be registered (pre_connection or request).



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org