/*
- * $Id: MemObject.cc,v 1.11 2003/08/03 10:37:30 robertc Exp $
+ * $Id: MemObject.cc,v 1.12 2003/08/10 05:11:22 robertc Exp $
*
* DEBUG: section 19 Store Memory Primitives
* AUTHOR: Robert Collins
log_url = xstrdup(aLog_url);
object_sz = -1;
- fd = -1;
/* XXX account log_url */
debug(20, 3) ("MemObject::MemObject: initialized %p\n", this);
}
data_hdr.freeContent();
+#if 0
/*
* There is no way to abort FD-less clients, so they might
- * still have mem->clients set if mem->fd == -1
+ * still have mem->clients set.
*/
- assert(fd == -1 || clients.head == NULL);
+ assert(clients.head == NULL);
+
+#endif
httpReplyDestroy((HttpReply *)_reply);
/*
- * $Id: MemObject.h,v 1.6 2003/07/12 07:22:09 robertc Exp $
+ * $Id: MemObject.h,v 1.7 2003/08/10 05:11:22 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
struct timeval start_ping;
IRCB *ping_reply_callback;
void *ircb_data;
- int fd; /* FD of client creating this entry */
struct
{
/*
- * $Id: forward.cc,v 1.107 2003/07/14 14:16:00 robertc Exp $
+ * $Id: forward.cc,v 1.108 2003/08/10 05:11:22 robertc Exp $
*
* DEBUG: section 17 Request Forwarding
* AUTHOR: Duane Wessels
debug(17, 3) ("fwdStart: '%s'\n", storeUrl(e));
e->mem_obj->request = requestLink(r);
- e->mem_obj->fd = fd;
#if URL_CHECKSUM_DEBUG
e->mem_obj->checkUrlChecksum();
/*
- * $Id: protos.h,v 1.487 2003/08/04 22:14:42 robertc Exp $
+ * $Id: protos.h,v 1.488 2003/08/10 05:11:22 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
request_t * orig_request,
StoreEntry * entry,
MemBuf * mb,
- int cfd,
http_state_flags);
SQUIDCEXTERN void httpAnonInitModule(void);
SQUIDCEXTERN int httpAnonHdrAllowed(http_hdr_type hdr_id);
/*
- * $Id: store_client.cc,v 1.132 2003/07/28 09:27:28 robertc Exp $
+ * $Id: store_client.cc,v 1.133 2003/08/10 05:11:22 robertc Exp $
*
* DEBUG: section 90 Storage Manager Client-Side Interface
* AUTHOR: Duane Wessels
return 0;
}
- if (mem->clientIsFirst(sc)) {
- /*
- * If we are unregistering the _first_ client for this
- * entry, then we have to reset the client FD to -1.
- */
- mem->fd = -1;
- }
-
dlinkDelete(&sc->node, &mem->clients);
mem->nclients--;