Thanks, Henrik pal!
I can hardly imagine why there could be more than one pointer
pointing to the same request_t structure. How can this happen?
Can you give me a simple explanation?
Best regards,
George Ma
----- Original Message -----
From: Henrik Nordstrom
To: maer727@sohu.com ;squid-dev@squid-cache.org
Cc: squid-dev@squid-cache.org
Subject: Re: Puzzled at request_t->link_count. :-(
Sent: Mon Apr 22 16:01:00 CST 2002
> On Monday 22 April 2002 08:58, maer727@sohu.com wrote:
>
> > I search for the source files that contain link_count. And
> > I think the link_count is the number of the link a request
> > is having now. I think link here means the URL of the origin server
> > that the request client wants to connect. Am I correct?
>
> No, only the amount of internal pointers to this request_t structure.
>
> see the callers of requestLink() and requestUnlink().
>
> Regards
> Henrik
Received on Mon Apr 22 2002 - 02:31:23 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:17 MST