Index: squid/src/client_side.c diff -u squid/src/client_side.c:1.1.1.31.2.2 squid/src/client_side.c:1.1.1.31.2.3 --- squid/src/client_side.c:1.1.1.31.2.2 Sun Oct 18 23:18:36 1998 +++ squid/src/client_side.c Wed Oct 21 01:39:02 1998 @@ -760,9 +760,16 @@ String s = httpHeaderGetList(req_hdr, HDR_VIA); /* ThisCache cannot be a member of Via header, "1.0 ThisCache" can */ if (strListIsSubstr(&s, ThisCache, ',')) { + Packer p; + MemBuf mb; + memBufDefInit(&mb); + packerToMemInit(&p, &mb); + httpHeaderPackInto(req_hdr, &p); debug(33, 1) ("WARNING: Forwarding loop detected for '%s'\n", http->uri); - debug(33, 1) ("--> %s\n", strBuf(s)); + debug(33, 1) ("--> %s\n%s\n", strBuf(s), mb.buf); + packerClean(&p); + memBufClean(&mb); request->flags.loopdetect = 1; } #if FORW_VIA_DB