Re: What is the use of "old_sc" of struct "_clientHttpRequest"?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 8 Apr 2002 11:16:45 +0200

When Squid needs to revalidate a cached object, old_sc is used to
temporarily keep an storeclient reference to the old cached object
while the revalidation is running using another storeclient.

When the revalidation reply is recived it's status determines if the
reply sent to the client should be sent from the old cached object
(old_sc), or from the new request (currently in sc).

Regards
Henrik

On Monday 08 April 2002 07:44, wrote:
> Hi, pals. I am using Squid stable 2.4. When reading source codes, I
> always puzzled about the meaning of the variable old_sc of the
> struct _clientHttpRequest. (struct.h, line 876)
>
> In the comments, it says, "... for entry to be validated". The
> explanation is too brief for me. :-)
>
> Can anyone give me an explanation about how we can use old_src to
> validate?
>
> Best regards,
> George, Ma
Received on Mon Apr 08 2002 - 03:24:40 MDT

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