httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <>
Subject Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h
Date Thu, 26 Oct 2006 08:50:46 GMT
On Wed, Oct 25, 2006 at 10:21:26PM +0200, Graham Leggett wrote:
> Joe Orton wrote:
> >There is no other acceptable solution AFAICS.  Buffering the entire 
> >brigade (either to disk, or into RAM as the current code does) before 
> >writing to the client is not OK, polling on buckets is not possible, 
> >using threads is not OK, using non-blocking writes up the output filter 
> >chain is not possible.  Any other ideas?
> I managed to solve this problem last night.
> Took a while and a lot of digging to figure it out, but in the end it is 
> relatively simple.
> The ap_core_output_filter helps us out:

I'm not sure how that is relevant.  The core output filter writes to the 
socket directly - it can use non-blocking writes or whatever it likes to 
do that.  The cache must write to the output filter chain.  How do you 
propose to do non-blocking writes up the output filter chain?


View raw message