httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <>
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
> > way to get the data down to the core_output_filter asap.  Plus, if
> > get the pipe_bucket to the core_output_filter in tact, it is
> > 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
> on it (I suspect not). Having two code paths to handle CGI script
> 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.


View raw message