[Varnish] #758: x-forwarded-for header concatenates for every restart
Varnish
varnish-bugs at varnish-cache.org
Fri Aug 20 15:19:58 CEST 2010
#758: x-forwarded-for header concatenates for every restart
----------------------+-----------------------------------------------------
Reporter: bert-jan | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: 2.1.3 | Severity: normal
Keywords: |
----------------------+-----------------------------------------------------
Every time a request is restarted to try a different backend server in a
cluster, the x-forwarded-for header gets the client ip added to it, even
if it's already there:
1st try[[BR]]
TxHeader b X-Forwarded-For: 83.161.214.5
1st restart[[BR]]
TxHeader b X-Forwarded-For: 83.161.214.5, 83.161.214.5
2nd restart[[BR]]
TxHeader c X-Forwarded-For: 83.161.214.5, 83.161.214.5, 83.161.214.5
3rd restart[[BR]]
TxHeader b X-Forwarded-For: 83.161.214.5, 83.161.214.5, 83.161.214.5,
83.161.214.5
Obviously something went very wrong for all servers to be broken (haven't
figured that out yet because only one actually was for this specific
request) but this struck me as odd.
--
Ticket URL: <http://varnish-cache.org/ticket/758>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list