From: wessels <> Date: Sat, 21 Nov 1998 06:20:51 +0000 (+0000) Subject: set public key before swapping out X-Git-Tag: SQUID_3_0_PRE1~2505 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d19abd1de662caa1734cf1ba7fdb1636a91b0d7;p=thirdparty%2Fsquid.git set public key before swapping out --- diff --git a/src/mime.cc b/src/mime.cc index 8e50b31aaf..abc92bcf31 100644 --- a/src/mime.cc +++ b/src/mime.cc @@ -1,6 +1,6 @@ /* - * $Id: mime.cc,v 1.82 1998/11/12 06:28:15 wessels Exp $ + * $Id: mime.cc,v 1.83 1998/11/20 23:20:51 wessels Exp $ * * DEBUG: section 25 MIME Parsing * AUTHOR: Harvest Derived @@ -416,6 +416,7 @@ mimeLoadIconFile(const char *icon) flags, METHOD_GET); assert(e != NULL); + storeSetPublicKey(e); e->mem_obj->request = requestLink(urlParse(METHOD_GET, url)); httpReplyReset(e->mem_obj->reply); httpReplySetHeaders(e->mem_obj->reply, 1.0, HTTP_OK, NULL, @@ -426,7 +427,6 @@ mimeLoadIconFile(const char *icon) while ((n = read(fd, buf, 4096)) > 0) storeAppend(e, buf, n); file_close(fd); - storeSetPublicKey(e); storeComplete(e); storeTimestampsSet(e); EBIT_SET(e->flags, ENTRY_SPECIAL);