Re: refreshCheck: '[null_mem_obj]' ?

From: Michael Fuhr <mfuhr@dont-contact.us>
Date: Wed, 8 Jul 1998 18:20:28 -0600

On Wed, Jul 08, 1998 at 01:35:05PM -0600, Alex Rousskov wrote:
> On Wed, 8 Jul 1998, Michael Fuhr wrote:
>
> > Squid 1.2.beta22
> > Under what circumstances is e->mem_obj set to NULL?
>
> When the object does not have an in-memory copy and is not in the process of
> swapping one in.
>
> To save memory, Squid keeps MD5 keys memory-resident and stores URLs on disk.
> If there is a hit for an object that resides on disk, mem_obj may be NULL
> initially (before we start swapping the object in).

Was I correct in noticing that this breaks refresh_pattern? Or am I
missing something?

-- 
Michael Fuhr
http://www.fuhr.net/~mfuhr/
Received on Wed Jul 08 1998 - 17:21:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:04 MST