Thanks, Henrik pal!
I still have a question, as you said,
http redirect is neither a hit or a miss.
But Squid take it for granted that it is cache miss
which is not really cache-miss.
if (http->redirect.status) {
/* force this to be a miss */
http->entry = NULL;
return LOG_TCP_MISS;
Am I correct?
Best regards,
George, Ma
----- Original Message -----
From: Henrik Nordstrom
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re: Puzzled at clientProcessRequest2 in squid-2.5.PRE6. :-(
Sent: Thu Apr 18 23:27:08 CST 2002
> maer727@sohu.com wrote:
>
> > IMHO, I think when http->redirect.status is not null, it indicates
> > a http redirect. Am I correct? But a http redirect is always cache
> > miss?
>
> It is neither a hit or a miss.. It is a special reply created by Squid.
>
> Regards
> Henrik
Received on Fri Apr 19 2002 - 01:09:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:12 MST