> -----Ursprüngliche Nachricht-----
> Von: Stas Bekman [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 4. April 2005 18:47
> An: Dintelmann, Peter
> Cc: 'modperl@perl.apache.org'
> Betreff: Re: APR::BucketType bucket types?
> 
> 
> 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.

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

Reply via email to