From: hno <> Date: Sat, 25 Sep 2004 21:52:59 +0000 (+0000) Subject: Bug #924: miss_access applies to internal and cachemgr requests X-Git-Tag: SQUID_3_0_PRE4~1047 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e8c2802e6cada413d95091b0194911ae580a6d2;p=thirdparty%2Fsquid.git Bug #924: miss_access applies to internal and cachemgr requests --- diff --git a/src/forward.cc b/src/forward.cc index 69a0cb75b2..230316033d 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -1,6 +1,6 @@ /* - * $Id: forward.cc,v 1.118 2004/04/04 13:46:49 hno Exp $ + * $Id: forward.cc,v 1.119 2004/09/25 15:52:59 hno Exp $ * * DEBUG: section 17 Request Forwarding * AUTHOR: Duane Wessels @@ -863,7 +863,7 @@ fwdStart(int fd, StoreEntry * e, HttpRequest * r) * be allowed. yuck, I know. */ - if (r->client_addr.s_addr != no_addr.s_addr) { + if (r->client_addr.s_addr != no_addr.s_addr && r->protocol != PROTO_INTERNAL && r->protocol != PROTO_CACHEOBJ) { /* * Check if this host is allowed to fetch MISSES from us (miss_access) */