From: hno <> Date: Sat, 15 Jun 2002 01:31:22 +0000 (+0000) Subject: Bugzilla #358: Make whois replies cacheable X-Git-Tag: SQUID_3_0_PRE1~979 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a497c8c9ba1b160cfc25e92c1958526cfcb99c2;p=thirdparty%2Fsquid.git Bugzilla #358: Make whois replies cacheable --- diff --git a/src/whois.cc b/src/whois.cc index fdd9588582..78b8f6878f 100644 --- a/src/whois.cc +++ b/src/whois.cc @@ -1,6 +1,6 @@ /* - * $Id: whois.cc,v 1.16 2001/04/14 00:03:24 hno Exp $ + * $Id: whois.cc,v 1.17 2002/06/14 19:31:22 hno Exp $ * * DEBUG: section 75 WHOIS protocol * AUTHOR: Duane Wessels, Kostas Anagnostakis @@ -119,6 +119,10 @@ whoisReadReply(int fd, void *data) comm_close(fd); } } else { + storeTimestampsSet(entry); + storeBufferFlush(entry); + if ( !EBIT_TEST(entry->flags, RELEASE_REQUEST ) ) + storeSetPublicKey(entry); fwdComplete(p->fwd); debug(75, 3) ("whoisReadReply: Done: %s\n", storeUrl(entry)); comm_close(fd);