httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: cvs commit: httpd-2.0 STATUS
Date Fri, 28 Jun 2002 21:06:33 GMT

> > I disagree.  Passing a pipe descriptor down the stack is a really
clean
> > way to get the data down to the core_output_filter asap.  Plus, if
we
> > get the pipe_bucket to the core_output_filter in tact, it is
possible
> > that we can use sendfile on some systems.
> >
> > Ryan
> >
> 
> I disagree. You are not likely to get a pipe bucket down to the
> core_output_filter and if you did I am not at all sure sendfile would
work
> on it (I suspect not). Having two code paths to handle CGI script
output
> is
> just crufting up the code for no good reason.

Getting a pipe bucket down to the core_output_filter is actually really
easy to do.  Just don't have any RESOURCE filters.  As for using
sendfile, any Unix OS should be able to use sendfile with a pipe fd.

Ryan



Mime
View raw message