]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- Do not send only-if-cached cc directive with requests for peer's digests.
authorrousskov <>
Sat, 30 May 1998 02:59:08 +0000 (02:59 +0000)
committerrousskov <>
Sat, 30 May 1998 02:59:08 +0000 (02:59 +0000)
  (again!)

src/peer_digest.cc

index 06cf4bb57b92764eb00d25666a4d6462f686a791..cacfd9cb18cd75f951aac2d836c6ceafc864a349 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: peer_digest.cc,v 1.33 1998/05/27 22:51:57 rousskov Exp $
+ * $Id: peer_digest.cc,v 1.34 1998/05/29 20:59:08 rousskov Exp $
  *
  * DEBUG: section 72    Peer Digest Routines
  * AUTHOR: Alex Rousskov
@@ -261,14 +261,8 @@ peerDigestRequest(peer * p)
     }
 #else
     assert(!req->header.len);
-    {
-       HttpHdrCc *cc = httpHdrCcCreate();
-       EBIT_SET(cc->mask, CC_ONLY_IF_CACHED);
-       httpHeaderPutStr(&req->header, HDR_ACCEPT, StoreDigestMimeStr);
-       httpHeaderPutStr(&req->header, HDR_ACCEPT, "text/html");
-       httpHeaderPutCc(&req->header, cc);
-       httpHdrCcDestroy(cc);
-    }
+    httpHeaderPutStr(&req->header, HDR_ACCEPT, StoreDigestMimeStr);
+    httpHeaderPutStr(&req->header, HDR_ACCEPT, "text/html");
 #endif
     /* create fetch state structure */
     fetch = memAllocate(MEM_DIGEST_FETCH_STATE);