httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@covalent.net>
Subject Re: CL for Proxy Requests
Date Fri, 30 Nov 2001 18:31:49 GMT
On Friday 30 November 2001 10:24 am, Ian Holsman wrote:
> Ryan Bloom wrote:
> > On Friday 30 November 2001 09:55 am, Ian Holsman wrote:
> >>Ryan Bloom wrote:
> >>>On Friday 30 November 2001 03:42 am, Eli Marmor wrote:
> >>>>Chuck Murcko wrote:
> >>>>>Also if the proxy is dechunking on its client side there will be
no CL
> >>>>>to send...
> >>>>
> >>>>This is obvious. But this is already included in the rule: "there is
no
> >>>>C-L when a filter that may change the size of the response is
> >>>> onvolved"; After all, chunking is only a particular case of a
> >>>> filter...
> >>>>
> >>>>I think that we should supply a way (for a programmer) to tell Apache
> >>>>that a specific filter doesn't change the size of a response. Or
> >>>> doesn't change the size of specific reponses (using the contexts of
> >>>> the conf, such as DIRECTORY, etc.). Or the hack that Ryan mentioned.
> >>>> Because while browsers must support responses without C-L, they depend
> >>>> on it for some purposes (e.g. the % of download of a file).
> >>>>
> >>>>Especially in proxies, where the backend site is not aware that the C-L
> >>>>is removed by a proxy in the middle.
> >>>
> >>>The hack is easy to add, and it is safer, I'll try to get to it this
> >>>weekend if nobody beats me to it.
> >>
> >>I think whats missing is the ability to add a filter on proxied requests.
> >>something like ProxyAddOutputFilter/ProxyAddInputFilter
> >
> > You can do that with the regular AddOutputFilter command in the
> > <proxy > block.  I have done this before.
>
> not for reverse proxies
> as you don't specify a proxy block.

Yeah, but even then, you should be able to use a Location block to add a 
filter for that URL.

Ryan

______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Mime
View raw message