AW: APR::BucketType bucket types?
[prev]
[thread]
[next]
[Date index for 2005/04/05]
> -----Urspr=FCngliche Nachricht-----
> Von: Stas Bekman [mailto:stas@xxxxxx.xxx]
> Gesendet: Montag, 4. April 2005 18:47
> An: Dintelmann, Peter
> Cc: 'modperl@xxxx.xxxxxx.xxx'
> Betreff: Re: APR::BucketType bucket types?
>=20
>=20
> 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=20
> > "FLUSH", "EOC" (end of connection?) and "mod_perl SV bucket".
> >=20
> > 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?
>=20
> Peter, libapr identifies buckets only by their name. How do=20
> you suggest=20
> that we manage their numerical values? A new bucket type can=20
> be added any=20
> moment and we won't have an ID for it. APR::Const only=20
> provides a glue for=20
> 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=20
> first and mp2=20
> will follow.
ok; I didn't think about that...
So what is the most efficient way to determine the=20
"standard" bucket types like EOS/EOC/FLUSH? How is=20
is_eos() doing it?
 |
AW: APR::BucketType bucket types?
Dintelmann, Peter 10:37 on 05 Apr 2005
|