perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [patch] C implementation of $r->content + rfc on the name
Date Tue, 20 May 2003 04:50:23 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> [...]
> 
> 
>>Correct. But:
>>
>>my $req = Apache::Request->new($r);
>>
>>is neither SetOutputFilter and nor
>>$r->add_output_filter(\&apreqfilter); in the 
>>user's code.
>>
>>my point is that it's far from obvious that Apache::Request->new() is
>>really:  $r->add_output_filter(\&apreqfilter); Perhaps Apache::Request
>>should make Apache::Request::filter available to users, so that they
>>can configure it manually (optionally of course). new() somehow should
>>be aware of that. 
> 
> 
> s/output/input/g, of course.  So we'll probably need to 
> XS-ify the apreq filter also, so mod_perl users who want 
> control over it's behavior can have it.

Correct.

>>will mod_apreq always be available to those who build libapreq-2?
> 
> 
> I'm not sure how to answer that.  To use Apache::Request within 
> apache-2, people will need to install and load the filter module
> into their httpd.conf:
> 
>   LoadModule apreq_module       modules/mod_apreq.so
> 
> Sorry, I see no way around that other than having the C library
> integrated into the httpd core.  Since that seems impossible now,
> apreq users will have to suffer through this apxs business, 
> especially if their httpd is without DSO support. In that
> case, Apache::Request will require a full recompile of httpd.

Of course.

As you suggested this API will be polished once it'll be used.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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


Mime
View raw message