From: kostas <> Date: Thu, 11 Dec 1997 04:05:02 +0000 (+0000) Subject: Added menu with rtt plus [cached] indication X-Git-Tag: SQUID_3_0_PRE1~4359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcbcef5b20993840f5ed459714649c0ca00b8c61;p=thirdparty%2Fsquid.git Added menu with rtt plus [cached] indication --- diff --git a/src/urn.cc b/src/urn.cc index 69c5da0c7e..b329c85daa 100644 --- a/src/urn.cc +++ b/src/urn.cc @@ -151,6 +151,8 @@ urnHandleReply(void *data, char *buf, ssize_t size) int l; String *S; ErrorState *err; + double tmprtt; + StoreEntry *tmpentry; debug(50, 3) ("urnHandleReply: Called with size=%d.\n", size); if (urlres_e->store_status == STORE_ABORTED) { @@ -203,8 +205,8 @@ urnHandleReply(void *data, char *buf, ssize_t size) err->url = xstrdup(storeUrl(e)); errorAppendEntry(e, err); return; - } - min_w = urnFindMinRtt(urls, urnState->request->method, NULL); + } + min_w = urnFindMinRtt(urls, urnState->request->method, NULL); storeBuffer(e); S = stringCreate(1024); l = snprintf(line, 4096, @@ -213,7 +215,15 @@ urnHandleReply(void *data, char *buf, ssize_t size) "