httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject RE: cvs commit: httpd-2.0 STATUS
Date Fri, 28 Jun 2002 21:04:48 GMT

> > From: Bill Stoddard [mailto:bill@wstoddard.com]
> >
> >
> > >
> > > This isn't really a handler problem, it is a filter problem.  There
> are
> > > two ways to fix this.  Change the cgi-handler, so that if it is a
> server
> > > pushed CGI script the handler reads directly from the pipe,
> >
> > This should be done for all CGIs not just server push.  This special
> case
> > code should be the general case code as well.
>
> 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.

Bill


Mime
View raw message