Re: Re: Re: Help! I am puzzled at "storeclient" :-)

From: 马琳 <maer727@dont-contact.us>
Date: Tue, 9 Apr 2002 08:36:53 +0800 (CST)

Thanks, Henrik pal!

You are very kind! :-)

Best regards,
George, Ma
> The current bleeding edge version, available via CVS or from the home
> page (behind the "2.6" link, as we haven't branched the "2.6" version
> yet).
>
> Regards
> Henrik
>
>
>
> On Monday 08 April 2002 16:46, you wrote:
> > Thanks, Henrik pal!
> >
> > What you are referring to when mentioning "Squid-HEAD"?
> >
> > Best regards,
> > George,Ma
> >
> > > On Monday 08 April 2002 16:03, 马琳 wrote:
> > > > When reading source code, I am puzzled at some of the member
> > > > variables of "_store_client" sturct. I tried hard to find the
> > > > explanations and comments, but failed. They are, "
> > > > copy_offset", "seen_offset", "copy_size", "copy_buf",
> > > > "swapin_sio" and "node".
> > >
> > > Don't look at these ;-), the details of the store_client type is
> > > only of interest to the one implementing the storeClient*()
> > > family of functions. These fields may not be accessed anywhere
> > > else.
> > >
> > > This is also an area currently being rewritten. You may find a
> > > slightly different picture if you look in Squid-HEAD.
> > >
> > > The copy_* and seen_offset variables reflect the current
> > > storeClientCopy() call while Squid is waiting for data to arrive
> > > in the object.
> > >
> > > swapin_sio is a lower level filehandle used to access the on-disk
> > > storage. See the programmers guide for a description of a "SIO"
> > > and it's uses.
> > >
> > > node is an internal link field used to keep track of the current
> > > store clients I think (haven't looked at the acutal source).
> > >
> > > Regards
> > > Henrik
>
Received on Mon Apr 08 2002 - 18:37:00 MDT

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