/*
- * $Id: mime.cc,v 1.43 1997/11/12 00:08:56 wessels Exp $
+ * $Id: mime.cc,v 1.44 1997/11/14 05:13:29 wessels Exp $
*
* DEBUG: section 25 MIME Parsing
* AUTHOR: Harvest Derived
int fd;
int n;
int l;
+ int flags;
struct stat sb;
StoreEntry *e;
LOCAL_ARRAY(char, path, MAXPATHLEN);
debug(50, 0) ("mimeLoadIconFile: FD %d: fstat: %s\n", fd, xstrerror());
return;
}
+ flags = 0;
+ EBIT_SET(flags, REQ_CACHABLE);
e = storeCreateEntry(url,
url,
- REQ_CACHABLE,
+ flags,
METHOD_GET);
assert(e != NULL);
e->mem_obj->request = requestLink(urlParse(METHOD_GET, url));
/*
- * $Id: store.cc,v 1.339 1997/11/12 23:41:12 wessels Exp $
+ * $Id: store.cc,v 1.340 1997/11/14 05:13:28 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
new_mem_lo = lowest_offset;
if (!EBIT_TEST(e->flag, ENTRY_CACHABLE)) {
+ assert(EBIT_TEST(e->flag, ENTRY_PRIVATE));
memFreeDataUpto(mem->data, new_mem_lo);
mem->inmem_lo = new_mem_lo;
return;