Henrik Nordström schrieb:

I can't really see any difference between the first and the third line.
Can anyone shed some light on when Squid logs NONE/- instead of
DIRECT/<ipaddress>? I have 20k lines with "TCP/MISS ... NONE" and 16k
lines with "TCP/MISS ... DIRECT" and I fail to find the difference,
although for example that Packages.bz2 has always been NONE.

Hmm.. this feels very familiar. We had a similar bug in Squid-2 some
years ago when the forwarding details wasn't properly logged if a
persistent server connection was reused.

Phew, I was worried I missed a crystal clear case where this behaviour actually made sense :-)

Does it make any difference if you set

server_persistent_connections off

in squid.conf?

Yes, fixes the problem.

In either case please file a bug report.

http://www.squid-cache.org/bugs/show_bug.cgi?id=2186

Bernhard

Reply via email to