/*
- * $Id: store.cc,v 1.249 1997/06/02 05:39:50 wessels Exp $
+ * $Id: store.cc,v 1.250 1997/06/03 20:09:45 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
LOCAL_ARRAY(char, mime_hdr, 300);
char *abort_msg;
MemObject *mem = e->mem_obj;
-
- if (e->store_status != STORE_PENDING) {
- debug_trap("storeAbort: bad store_status");
- return;
- } else if (mem == NULL) {
- debug_trap("storeAbort: null mem_obj");
- return;
- } else if (e->ping_status == PING_WAITING) {
- debug_trap("storeAbort: ping_status == PING_WAITING");
- return;
- }
+ assert(e->store_status == STORE_PENDING);
+ assert(mem != NULL);
+ /*assert(ping_status != PING_WAITING);*/
debug(20, 6, "storeAbort: '%s'\n", e->key);
storeNegativeCache(e);
e->store_status = STORE_ABORTED;
/* No DISK swap for negative cached object */
e->swap_status = NO_SWAP;
e->lastref = squid_curtime;
- /* In case some parent responds late and
- * tries to restart the fetch, say that it's been
- * dispatched already.
- */
- BIT_SET(e->flag, ENTRY_DISPATCHED);
storeLockObject(e);
/* Count bytes faulted through cache but not moved to disk */
HTTPCacheInfo->proto_touchobject(HTTPCacheInfo,