/*
- * $Id: client_side.cc,v 1.134 1997/10/26 02:35:29 wessels Exp $
+ * $Id: client_side.cc,v 1.135 1997/10/28 20:42:50 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
int unlink_request = 0;
StoreEntry *oldentry;
debug(33, 3) ("icpHandleIMSReply: FD %d '%s'\n", fd, entry->url);
+ put_free_4k_page(buf);
+ buf = NULL;
/* unregister this handler */
if (entry->store_status == STORE_ABORTED) {
debug(33, 3) ("icpHandleIMSReply: ABORTED '%s'\n", entry->url);
/*
- * $Id: errorpage.cc,v 1.87 1997/10/26 02:35:30 wessels Exp $
+ * $Id: errorpage.cc,v 1.88 1997/10/28 20:42:50 wessels Exp $
*
* DEBUG: section 4 Error Generation
* AUTHOR: Duane Wessels
requestUnlink(err->request);
safe_free(err->redirect_url);
safe_free(err->url);
+ safe_free(err->host);
cbdataFree(err);
}
storeAppend(entry, buf, len);
if (mem)
mem->reply->code = err->http_status;
+ errorStateFree(err);
}
/* If there is a callback, the callback is responsible to close
/*
- * $Id: ipcache.cc,v 1.138 1997/10/27 22:48:56 wessels Exp $
+ * $Id: ipcache.cc,v 1.139 1997/10/28 20:42:53 wessels Exp $
*
* DEBUG: section 14 IP Cache
* AUTHOR: Harvest Derived
{
ipcache_entry *this;
ipcache_entry *next;
- if (ip_table == 0)
- fatal_dump("ipcache_restart: ip_table == 0\n");
+ assert(ip_table != NULL);
while (ipcacheDequeue());
next = (ipcache_entry *) hash_first(ip_table);
while ((this = next)) {
/*
- * $Id: store.cc,v 1.321 1997/10/28 06:54:14 wessels Exp $
+ * $Id: store.cc,v 1.322 1997/10/28 20:42:54 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
commSetSelect(sc->swapin_fd, COMM_SELECT_READ, NULL, NULL, 0);
file_close(sc->swapin_fd);
}
+ if (sc->callback)
+ debug(20,1)("WARNING: store_client for %s has a callback\n", e->url);
cbdataFree(sc);
return 1;
}
/*
- * $Id: wais.cc,v 1.90 1997/10/26 02:35:41 wessels Exp $
+ * $Id: wais.cc,v 1.91 1997/10/28 20:42:55 wessels Exp $
*
* DEBUG: section 24 WAIS Relay
* AUTHOR: Harvest Derived
err->http_status = HTTP_GATEWAY_TIMEOUT;
err->request = urlParse(METHOD_CONNECT, waisState->request);
errorAppendEntry(entry, err);
-
storeAbort(entry, 0);
comm_close(fd);
}