Due to a typo Squid 3.2 cannot correctly handle forward loops in
transparent mode.
You can see it with
wget -O /dev/null -S http://transparent_squid_proxy:some_port/
Attached patch fixes the issue.
--
Best wishes,
Alexander Komyagin
--- squid-3.2.0.16/src/client_side_reply.cc 2012-03-07 06:42:55.000000000 +0400
+++ squid-3.2.0.16.new/src/client_side_reply.cc 2012-07-27 19:08:34.462849074 +0400
@@ -632,7 +632,7 @@
/// Deny loops for accelerator and interceptor. TODO: deny in all modes?
if (r->flags.loopdetect &&
- (http->flags.accel || http->flags.intercepted)) {
+ (http->flags.accel || r->flags.intercepted)) {
http->al.http.code = HTTP_FORBIDDEN;
err = clientBuildError(ERR_ACCESS_DENIED, HTTP_FORBIDDEN, NULL, http->getConn()->clientConnection->remote, http->request);
createStoreEntry(r->method, request_flags());