From: wessels <> Date: Thu, 17 Jun 1999 10:04:04 +0000 (+0000) Subject: set reply->hdr_sz for these buggers so store.log makes sense X-Git-Tag: SQUID_3_0_PRE1~2152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c59550f442da4f689d08ee48b70d901a9d769a;p=thirdparty%2Fsquid.git set reply->hdr_sz for these buggers so store.log makes sense --- diff --git a/src/mime.cc b/src/mime.cc index 26430fa595..42dca5f364 100644 --- a/src/mime.cc +++ b/src/mime.cc @@ -1,6 +1,6 @@ /* - * $Id: mime.cc,v 1.89 1999/05/26 17:07:59 wessels Exp $ + * $Id: mime.cc,v 1.90 1999/06/17 04:04:04 wessels Exp $ * * DEBUG: section 25 MIME Parsing * AUTHOR: Harvest Derived @@ -427,6 +427,7 @@ mimeLoadIconFile(const char *icon) httpHdrCcSetMaxAge(reply->cache_control, 86400); httpHeaderPutCc(&reply->header, reply->cache_control); httpReplySwapOut(reply, e); + reply->hdr_sz = e->mem_obj->inmem_hi; /* yuk */ /* read the file into the buffer and append it to store */ buf = memAllocate(MEM_4K_BUF); while ((n = read(fd, buf, 4096)) > 0)