[...]
No, they are not.
The first of all, The problem appers even with no redirection. For
example.
If I start squid, then telnet localhost 8081, the do:
GET / HTTP/1.0
Host: aol.com
[...]
To be a little more specific, here is some example.
No redirection is on. squid have two http_port, in config file in looks
like:
devel01 ~ # grep http_port /etc/squid/squid.conf
http_port 8080
http_port 8081 transparent
devel01 ~ #
So, here is the output of telonet command:
devel01 ~ # telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HEAD http://www.aol.com/ HTTP/1.0
Host: www.aol.com
HTTP/1.1 200 OK
Date: Wed, 29 Aug 2012 13:17:49 GMT
Server: Apache-Coyote/1.1
Set-Cookie: mcAuth=deleted; expires=Thu Jan 01 00:17:51 1970 GMT;
path=/; domain=aol.com
Set-Cookie: mcAuth=deleted; expires=Thu Jan 01 00:17:51 1970 GMT; path=/
Set-Cookie: mcAuth=deleted; expires=Thu Jan 01 00:17:51 1970 GMT;
path=/; domain=www.aol.com
Set-Cookie: RSP_CHECK_PORTAL_STARTPAGE.AOL.COM=deleted; expires=Thu Jan
01 00:17:51 1970 GMT; path=/; domain=www.aol.com
Set-Cookie: RSP_CHECK_PORTAL_STARTPAGE.AOL.COM=deleted; expires=Thu Jan
01 00:17:51 1970 GMT; path=/
Set-Cookie: RSP_CHECK_PORTAL_STARTPAGE.AOL.COM=deleted; expires=Thu Jan
01 00:17:51 1970 GMT; path=/; domain=aol.com
Pragma: no-cache
Cache-Control: no-cache, no-store, private, max-age=0
Expires: 0
R-Host: vm-149-174-24-93.asset.aol.com
Content-Type: text/html;;charset=utf-8
Set-Cookie: JSESSIONID=B9F347034A54B0685B912D0E404CD131; Path=/aol
Set-Cookie:
tst=%2C14%2Cs391a%3A%2C14%2Cs392a%3A%2C14%2Cs393a%3A%2C14%2Cs394a%3A%2C14%2Cs395a%3A%2C14%2Cs396a%3A%2C14%2Cs397a;
Expires=Fri, 29-Aug-2014 13:17:49 GMT; Path=/
X-Cache: MISS from devel01
X-Cache-Lookup: MISS from devel01:8080
Via: 1.1 devel01 (squid/3.2.0.18)
Connection: close
Connection closed by foreign host.
devel01 ~ # telnet localhost 8081
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HEAD / HTTP/1.0
Host: www.aol.com
^]
telnet> quit
Connection closed.
devel01 ~ #
Nothing more the, just in netstat I see looped connection of squid to
himself.
Regards;
Pawel Mojski