From: wessels <> Date: Tue, 5 May 1998 11:36:34 +0000 (+0000) Subject: replace urlRInternal with internalRemoteUri X-Git-Tag: SQUID_3_0_PRE1~3387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c527f7accd20e5db5cb0a5af5040cfdd23ae1b61;p=thirdparty%2Fsquid.git replace urlRInternal with internalRemoteUri --- diff --git a/src/peer_digest.cc b/src/peer_digest.cc index 93cfd92896..650be4570b 100644 --- a/src/peer_digest.cc +++ b/src/peer_digest.cc @@ -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));