Stas Bekman wrote:
Argh! that Aw/Re exchange completely breaks the thread :(

Dintelmann, Peter wrote:

    [snip]


ok; I didn't think about that...
So what is the most efficient way to determine the "standard" bucket types like EOS/EOC/FLUSH?


with is_foo methods:
http://perl.apache.org/docs/2.0/api/APR/Bucket.html
though at the moment we expose just two of them. Which ones do you lack?



currently only is_eoc().


right, I'll add it.

Actually there is a problem, it's defined in the httpd source:

httpd-2.0/include/http_connection.h:#define AP_BUCKET_IS_EOC(e) (e->type == &ap_bucket_type_eoc)

not libapr, so APR::Bucket can't carry it (as it must run w/o httpd as well).

The only option I can think of is have this function loaded in a new class Apache::Bucket or existing Apache::Util, or something like that.

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

Reply via email to