]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
replace urlRInternal with internalRemoteUri
authorwessels <>
Tue, 5 May 1998 11:36:34 +0000 (11:36 +0000)
committerwessels <>
Tue, 5 May 1998 11:36:34 +0000 (11:36 +0000)
src/peer_digest.cc

index 93cfd928967c3bdc3567fe956e6007ebfc2f0200..650be4570bcb47fd16269217d4c491e9267b044d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: peer_digest.cc,v 1.20 1998/04/27 19:16:10 wessels Exp $
+ * $Id: peer_digest.cc,v 1.21 1998/05/05 05:36:34 wessels Exp $
  *
  * DEBUG: section 72    Peer Digest Routines
  * AUTHOR: Alex Rousskov
@@ -169,7 +169,8 @@ peerDigestValidate(peer * p)
        p->host, p->digest.last_dis_delay ? "" : "not");
     if (1 /* p->digest.cd */ ) {
        const cache_key *key;
-       key = storeKeyPublic(urlRInternal(p->host, p->http_port, NULL, StoreDigestUrlPath), METHOD_GET);
+       const char *u = internalRemoteUri(p->host, p->http_port, NULL, StoreDigestUrlPath);
+       key = storeKeyPublic(u, METHOD_GET);
        e = storeGet(key);
        debug(72, 3) ("peerDigestValidate: %s store entry, key: %s, exp: %s\n",
            e ? "has" : "no", storeKeyText(key), mkrfc1123(e ? e->expires : 0));
@@ -235,7 +236,7 @@ peerDigestRequest(peer * p)
     assert(p);
     EBIT_SET(p->digest.flags, PD_REQUESTED);
     /* compute future request components */
-    url = urlRInternal(p->host, p->http_port, "", StoreDigestUrlPath);
+    url = internalRemoteUri(p->host, p->http_port, "", StoreDigestUrlPath);
     key = storeKeyPublic(url, METHOD_GET);
     debug(72, 2) ("peerDigestRequest: %s key: %s\n", url, storeKeyText(key));
     req = requestLink(urlParse(METHOD_GET, url));