Re:Re: Puzzled at fd_note and ConnStateData.defer in Squid-2.5.PRE6.

From: <maer727@dont-contact.us>
Date: Fri, 19 Apr 2002 15:19:40 +0800 (CST)

Thanks, Henrik pal!

You have clarified all my doubts. :-)

Best regards,
George Ma

----- Original Message -----
From: Henrik Nordstrom
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re: Puzzled at fd_note and ConnStateData.defer in Squid-2.5.PRE6.
Sent: Thu Apr 18 23:56:36 CST 2002

> conn->defer is a flag telling that we need to defer reading further
> requests from this client connection until the current reply has been
> sent.
>
> fd_note is just a "debugging" function, setting the filedescriptor
> description to displayed in cachemgr.
>
> Regards
> Henrik
>
>
> maer727@sohu.com wrote:
> >
> > Hi, pals!
> >
> > I am using Squid-2.5.PRE6. I am puzzled at such statements in
> > function clientReadRequest, I try to find the answer in FAQ but
> > failed. :-)
> >
> > conn->defer.until = squid_curtime + 1;
> > conn->defer.n++;
> >
> > What is the meaning and function of conn->defer.until and
> > conn->defer.n?
> >
> > Another trouble, look at this statement,
> > fd_note(fd, "half-closed");
> >
> > I check the function in fd.c and still can not get the meaning
> > and function of the statement. :-(
> >
> > Best regards,
> > George, Ma
Received on Fri Apr 19 2002 - 01:20:07 MDT

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