Re: AW: AW: APR::BucketType bucket types?

[prev] [thread] [next] [Date index for 2005/04/06]

From: Stas Bekman
Subject: Re: AW: AW: APR::BucketType bucket types?
Date: 14:57 on 06 Apr 2005
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:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

AW: AW: APR::BucketType bucket types?
Dintelmann, Peter 08:30 on 06 Apr 2005

Re: AW: AW: APR::BucketType bucket types?
Stas Bekman 14:44 on 06 Apr 2005

Re: AW: AW: APR::BucketType bucket types?
Stas Bekman 14:57 on 06 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52