Hello,

Am I correct in understanding that the first thing that Squid does when
it receives a purge request (after it has verified proper authority,
host, port, etc.) is remove the cache reference from memory with
removeClientStoreReference(&sc, http) and then do the removal from
swap.state and the L2 directory by setting the ipcache_entry expire time
to squid_curtime in ipcacheInvalidate(const char *name)?

Also, how does ip_table get to ipcache_get(const char *name) in
ipcache.cc, and where is hash_lookup defined?  That is from:

static ipcache_entry *
ipcache_get(const char *name)
{
    if (ip_table != NULL)
        return (ipcache_entry *) hash_lookup(ip_table, name);
    else
        return NULL;
}



Thanks,

Murrah Boswell

Reply via email to