[squid-users] doubled request!

From: <daniele\.sartori\@dont-contact.us>
Date: Tue, 4 Jan 2005 12:43:58 +0100

hello, I'v a squid cache that for all connection to internet go through a
webwasher proxy
with url & content filter. I have a strange behaviour with some blocked request:

in order to simulate the environment I'v made:

client -> squid -> (sockspy) -> ww -> internet

with wget i'll try to download a forbidden file, follow
the output from sockspy:

GET http://www.redhat.com/f/ogg/choice.ogg HTTP/1.0
User-Agent: Wget/1.9+cvs-stable (Red Hat modified)
Host: www.redhat.com
Accept: */*
Via: 1.0 squid.intra.lan:3128 (squid/2.5.STABLE6)
X-Forwarded-For: unknown
Cache-Control: max-age=259200
Proxy-Connection: keep-alive

ww respond to squid:

HTTP/1.1 403 Forbidden
Content-Length: 1287
Content-Type: text/html
Pragma: no-cache
Proxy-Connection: keep-alive
X-Error-Name: mediatypeblocked

<html>
....
</html>

squid try again to get the file!!!!

GET http://www.redhat.com/f/ogg/choice.ogg HTTP/1.0
User-Agent: Wget/1.9+cvs-stable (Red Hat modified)
Host: www.redhat.com
Accept: */*
Via: 1.0 squid.intra.lan:3128 (squid/2.5.STABLE6)
X-Forwarded-For: unknown
Cache-Control: max-age=259200
Proxy-Connection: keep-alive

ww respond again with:

HTTP/1.1 403 Forbidden
Content-Length: 1287
Content-Type: text/html
Pragma: no-cache
Proxy-Connection: keep-alive
X-Error-Name: mediatypeblocked

<html>
...
</html>

squid give me the error message and in the access.og i see only one request:

1104840113.773 37314 10.0.1.155 TCP_MISS/403 1481 GET
http://www.redhat.com/f/ogg/choice.ogg - ANY_PARENT/127.0.0.1 text/html

obviously I have tried using directly ww with the correct behaviour.
Received on Tue Jan 04 2005 - 04:44:00 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST