Ryan Bloom wrote:

> On Friday 30 November 2001 10:34 am, Ian Holsman wrote:
> 
>>Ryan Bloom wrote:
>>
>>>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.
>>>
>>OK.. now I understand the confusion.
>>I'm talking about adding filters to the actual call made to the other
>>server. (eg from web server to app) not from client to webserver.
>>
> 
> Yeah, but that is one of the problems with the proxy right now.  It doesn't use
> the correct mechanisms for creating the backend request.  If you remember,
> Danny Lopez asked for this ability a while ago, and we didn't implement it.


Yes.. I was on vaction at the time
we also use the same feature danny asked for (a hook pre-proxy request)
We're there any objections to adding the hook?


> In fact, I modified the proxy to use a hook for creating the request, which
> allows modules to insert their filters.  This would have allowed a module
> to hook the create_poxy_request, and add their own filters, but the proxy
> doesn't use the filters correctly.


if you give me a rundown on what needs to be done I'll do it.


> 
> Ryan
> 
> ______________________________________________________________
> Ryan Bloom                            [EMAIL PROTECTED]
> Covalent Technologies                 [EMAIL PROTECTED]
> --------------------------------------------------------------
> 



Reply via email to