Re: APR::BucketType bucket types?

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

From: Stas Bekman
Subject: Re: APR::BucketType bucket types?
Date: 16:47 on 04 Apr 2005
Dintelmann, Peter wrote:
> I am looking for a list of the bucket types for APR::BucketType
> objects and their meanings. So far I have encountered the types 
> "FLUSH", "EOC" (end of connection?) and "mod_perl SV bucket".
> 
> It seems that bucket type (names) are only available as strings.
> When looking for buckets of a particular type a comparison
> to an integer constant would be more efficient. Can we have
> some constants in APR::Const for this purpose and the bucket
> type name as a dual valued scalar?

Peter, libapr identifies buckets only by their name. How do you suggest 
that we manage their numerical values? A new bucket type can be added any 
moment and we won't have an ID for it. APR::Const only provides a glue for 
the existing libapr's C-level constants. If you want a change of this 
kind, you will have to ensure that libapr provides that ID first and mp2 
will follow.

        -- 
        __________________________________________________________________
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

APR::BucketType bucket types?
Dintelmann, Peter 14:42 on 01 Apr 2005

Re: APR::BucketType bucket types?
Stas Bekman 16:47 on 04 Apr 2005

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