/*
- * $Id: client_side.cc,v 1.485 2000/05/16 07:06:03 wessels Exp $
+ * $Id: client_side.cc,v 1.486 2000/05/29 00:52:31 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
if ((e = http->entry)) {
http->entry = NULL;
storeUnregister(http->sc, e, http);
+ http->sc = NULL;
storeUnlockObject(e);
}
/* old_entry might still be set if we didn't yet get the reply
if ((e = http->old_entry)) {
http->old_entry = NULL;
storeUnregister(http->sc, e, http);
+ http->old_sc = NULL;
storeUnlockObject(e);
}
requestUnlink(http->request);
if ((e = http->entry)) {
http->entry = NULL;
storeUnregister(http->sc, e, http);
+ http->sc = NULL;
storeUnlockObject(e);
}
clientProcessMiss(http);
http->log_type = LOG_TCP_IMS_HIT;
memFree(buf, MEM_CLIENT_SOCK_BUF);
storeUnregister(http->sc, e, http);
+ http->sc = NULL;
storeUnlockObject(e);
e = clientCreateStoreEntry(http, http->request->method, null_request_flags);
/*
ErrorState *err = errorCon(ERR_TOO_BIG, HTTP_FORBIDDEN);
err->request = requestLink(http->request);
storeUnregister(http->sc, http->entry, http);
+ http->sc = NULL;
storeUnlockObject(http->entry);
http->entry = clientCreateStoreEntry(http, http->request->method,
null_request_flags);
err->src_addr = http->conn->peer.sin_addr;
if (http->entry) {
storeUnregister(http->sc, http->entry, http);
+ http->sc = NULL;
storeUnlockObject(http->entry);
}
http->entry = clientCreateStoreEntry(http, r->method, null_request_flags);
storeEntryDump(http->entry, 1);
}
storeUnregister(http->sc, http->entry, http);
+ http->sc = NULL;
storeUnlockObject(http->entry);
http->entry = NULL;
}