A bug? Puzzled at the actions after cache hit. :-(

From: <maer727@dont-contact.us>
Date: Sat, 11 May 2002 19:37:24 +0800 (CST)

Hi, pals!

I think when cache hit, the function storeSwapMetaUnpack() will
finally be called to change meta data to TVL list. I take a look
at the function, storeClientReadHeader will finally be called.
In this function, there is a statement like this,

mem->object_sz = e->swap_file_sz - swap_hdr_sz;

I think there may be a bug. Since the swap_file_sz of StoreEntry
will possibly be changed since last time. IMHO, I think squid will
not refresh the file size of the swap file since last time. I think
we should force squid to re-read the file size of the swap file.
Am I correct? ( Maybe some other process has modified the file and changed
the size of the file. )

Best regards,
George Ma
Received on Sat May 11 2002 - 05:37:35 MDT

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