httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: layered I/O (was: cvs commit: ...)
Date Tue, 28 Mar 2000 02:07:22 GMT
On Mon, 27 Mar 2000 wrote:

> > that's a massive change to the content-processor!
> > 
> > you've just made it so that the content-processor *can't use the stack to
> > store any context*.  all the context has to be moved to a structure which
> > is used by each call to the process_data function.
> > 
> > go take a look at mod_include, and tell me you can do this with no change.  
> > if so then i'll be really impressed.
> BTW, I worked it out earlier today, I can modify the currently working
> layered I/O code to require only two changes to current modules.  1)  They
> have to set the output BUFF correctly.  2)  Modules that write out to the
> network have to return STOP_HANDLERS.  Note, this is a change from what I
> committed.  

actually i didn't look at your code, i assumed the above was what you did
the first time ;)

but that doesn't mean that mod_include would work without using a pipe()
or another thread or any number of tricks to make it perform asynchronous
to another thread reading from its output BUFF.


View raw message