/*
- * $Id: asn.cc,v 1.33 1998/05/08 23:29:25 wessels Exp $
+ * $Id: asn.cc,v 1.34 1998/05/09 04:49:08 wessels Exp $
*
* DEBUG: section 53 AS Number handling
* AUTHOR: Duane Wessels, Kostas Anagnostakis
if ((e = storeGet(k)) == NULL) {
e = storeCreateEntry(asres, asres, 0, METHOD_GET);
storeClientListAdd(e, asState);
- protoDispatch(0, e, asState->request);
+ protoDispatch(-1, e, asState->request);
} else {
storeLockObject(e);
storeClientListAdd(e, asState);
/*
- * $Id: client_side.cc,v 1.299 1998/05/05 23:04:04 wessels Exp $
+ * $Id: client_side.cc,v 1.300 1998/05/09 04:49:09 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
}
assert(http->out.offset == 0);
http->entry = clientCreateStoreEntry(http, r->method, r->flags);
- http->entry->mem_obj->fd = http->conn->fd;
http->entry->refcount++;
if (http->flags.internal)
r->protocol = PROTO_INTERNAL;
/*
- * $Id: http.cc,v 1.268 1998/04/27 20:03:55 wessels Exp $
+ * $Id: http.cc,v 1.269 1998/05/09 04:49:10 wessels Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
cfd = -1;
else
cfd = entry->mem_obj->fd;
+ assert(-1 == cfd || FD_SOCKET == fd_table[cfd].type);
if (p != NULL)
EBIT_SET(httpState->flags, HTTP_PROXYING);
/*
/*
- * $Id: peer_digest.cc,v 1.23 1998/05/05 23:08:14 wessels Exp $
+ * $Id: peer_digest.cc,v 1.24 1998/05/09 04:49:11 wessels Exp $
*
* DEBUG: section 72 Peer Digest Routines
* AUTHOR: Alex Rousskov
fetch->offset = 0;
debug(72, 3) ("peerDigestRequest: forwarding to protoDispatch...\n");
/* push towards peer cache */
- protoDispatch(0, e, req);
+ protoDispatch(-1, e, req);
storeClientCopy(e, 0, 0, SM_PAGE_SIZE, memAllocate(MEM_4K_BUF),
peerDigestFetchReply, fetch);
}
/*
*
- * $Id: urn.cc,v 1.31 1998/05/08 23:29:32 wessels Exp $
+ * $Id: urn.cc,v 1.32 1998/05/09 04:49:12 wessels Exp $
*
* DEBUG: section 52 URN Parsing
* AUTHOR: Kostas Anagnostakis
if ((urlres_e = storeGet(k)) == NULL) {
urlres_e = storeCreateEntry(urlres, urlres, 0, METHOD_GET);
storeClientListAdd(urlres_e, urnState);
- protoDispatch(0, urlres_e, urlres_r);
+ protoDispatch(-1, urlres_e, urlres_r);
} else {
storeLockObject(urlres_e);
storeClientListAdd(urlres_e, urnState);