On 13 Jul 2001 15:01:15 -0700, Graham Leggett wrote:
> Ian Holsman wrote:
> 
> > [I'll be looking at this a bit further on Monday]
> > 
> > when I server a r-proxyied main page which has a r-proxied main
> > component.
> > 
> > the headers for the subcomponent are getting duplicated
> 
> I don't follow - what is a main component, and what is a sub component?
> 

The main page includes another page.
both are dynamically generated
so for example we have got a 
ProxyPass / http://foo/

I do a GET /
it returns
<!--#include virtual="/component/X.html" -->

(which then goes back to http:/foo/compoent/X.html"

The problem I'm seeing is that the header for the 'X.html' request has
doubled up on the values X-Forwarded-For, X-Forwarded-Host etc.

X-Forwarded-For: 10.10.9.142, 10.10.9.142
X-Forwarded-Host: griffon, griffon
X-Forwarded-Server: griffon.cnet.com, griffon.cnet.com

It looks like the headers_in/out of the main page aregetting merged into
the sub request.
I'm thinking that instead of mergeing them we should just replace them

(I'll post a patch (and a new tcpflow) later)

> > (tcpflow output)
> 
> Can you try a tcpflow -c -> this keeps the flow in order, the previous
> tcpflow was a bit confusing.
> 
> Regards,
> Graham
> -- 
> -----------------------------------------
> [EMAIL PROTECTED]             "There's a moon
>                                       over Bourbon Street
>                                               tonight..."
--
Ian Holsman
Performance Measurement & Analysis
CNET Networks    -    415 364-8608

Reply via email to