]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
set reply->hdr_sz for these buggers so store.log makes sense
authorwessels <>
Thu, 17 Jun 1999 10:04:04 +0000 (10:04 +0000)
committerwessels <>
Thu, 17 Jun 1999 10:04:04 +0000 (10:04 +0000)
src/mime.cc

index 26430fa59574187a935ce739e77ebd9748726b36..42dca5f364a2faa0c22e3bd1a936fdc78786ae11 100644 (file)
@@ -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)