apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: buckets, brigades, md5
Date Sat, 26 May 2001 19:50:02 GMT
On Sat, May 26, 2001 at 07:44:14PM +0200, Sander Striker wrote:
> [...]
> > Within httpd itself, filters contain bucket brigades.  I am not
> > currently aware of any other usage of bucket brigades outside of the
> > filter code.  IMHO, key files to look at in httpd-2.0 itself are 
> > server/util_filter.c and modules/http/http_protocol.c (see 
> > ap_http_filter).  mod_include and mod_tls also use filters.  Other
> > modules (such as my mod_mbox - see www.apachelabs.org) use them as well.
> > I tried to make the mod_mbox usage of filters fairly easy to understand
> > as I didn't find the mod_include code very easy to understand.  So, 
> > maybe the mod_mbox code might be easier to understand.
> 
> Ah, I took a peek there and it seems that I want to use filters... :-(
> Hmmm, are there plans to move these into apr-util? Or are they really
> hardcore apache?

The functions in util_filter.c are all quite Apache specific. Maybe some
stuff could be extracted, but we've never look too hard at the problem. If
you see something, and think it makes sense in APRUTIL (and can be
extracted), then just point it out...

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message