/*
- * $Id: http.cc,v 1.188 1997/10/13 22:09:11 kostas Exp $
+ * $Id: http.cc,v 1.189 1997/10/14 18:31:24 wessels Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
RequestMethodStr[request->method], entry->url);
if (e) {
if (e->options & NEIGHBOR_PROXY_ONLY)
-#if DONT_USE_VM
storeReleaseRequest(entry);
-#else
- storeStartDeleteBehind(entry);
-#endif
if ((fd = pconnPop(e->host, e->http_port)) >= 0) {
debug(11, 3) ("httpStart: reusing pconn FD %d\n", fd);
httpState = httpBuildState(fd, entry, request, e);
/* keep track each client receiving data from that particular StoreEntry */
struct _store_client {
+#if VM_WINDOW
+ int swapin_fd;
+#else
off_t copy_offset;
off_t seen_offset;
size_t copy_size;
char *copy_buf;
STCB *callback;
void *callback_data;
+#endif
};
struct _store_client *clients;
int nclients;
off_t swap_offset;
+#if !VM_WINDOW
short swapin_fd;
+#endif
short swapout_fd;
struct _http_reply *reply;
request_t *request;
/*
- * $Id: wais.cc,v 1.81 1997/10/13 22:09:26 kostas Exp $
+ * $Id: wais.cc,v 1.82 1997/10/14 18:31:28 wessels Exp $
*
* DEBUG: section 24 WAIS Relay
* AUTHOR: Harvest Derived
}
if (entry->flag & DELETE_BEHIND && !storeClientWaiting(entry)) {
/* we can terminate connection right now */
- assert(!ERR_NO_CLIENTS);
storeAbort(entry, 0);
comm_close(fd);
return;