httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <stodd...@raleigh.ibm.com>
Subject Re: cvs commit: apache-2.0/src/main http_core.c
Date Mon, 09 Oct 2000 15:13:41 GMT
From: Jeff Trawick <trawickj@bellsouth.net>
> rbb@locus.apache.org writes:
>
> > rbb         00/10/07 11:10:07
> >
> >   Modified:    src/include httpd.h
> >                src/main http_core.c
> >   Log:
> >   The core filter should not be using its own brigade inside its own ctx
> >   structure.  This changes the core_output_filter to use a brigade inside
> >   the conn_rec.  Think of this as analagous to the BUFF in the conn_rec.
> >   The idea is that if we have pipelined requests, and it isn't worth it to
> >   send the last bit of data from the first request, we want to save that
> >   extra bit of data to the conn_rec, so that the next request sends it
> >   automatically.
>
> But we use the same instance of CORE across the entire connection, so
> its context data has the right lifetime...  Right?
>
> Using the context data when possible seems to be more friendly than
> adding more stuff to the conn_rec.

My thoughts as well. Not sure exactly what is being gained by putting the
context in the conn_rec. The connection level filters are not going to change
in a pipelined request.

Bill




Mime
View raw message