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 Thu Apr 18 2002 - 10:29:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:12 MST