On 2/12/2013 2:48 PM, Amos Jeffries wrote:
Ah. Squid detects loops by looking for its visible host name in Via:
header. So the loop is "normal" as far as loops go. If you re-enable Via
it should stop looping at least.
This explains the problem reason.
I wanted to enable the Via header but I had couple issues with sites
that hosts some services which dose not like Via header.
The main bug seems to be in that the /squid-internal part of the URL is
not being caught and serviced. It should have been identified and Squid
generate a response before the request got anywhere near looping.
Looking into it now. If you want to parallel my search it should be the
client_side_request.cc processRequest or such.
I will try to look at it in the end of the week.
Eliezer
--
Eliezer Croitoru
http://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il