Re: Puzzled at the "host" member of clientHttpRequest. :-)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 18 Apr 2002 09:38:33 +0200

maer727@sohu.com wrote:
>
> Hi, pals!
>
> I think the "host" member of clientHttpRequest stands for
> the URI of the request. Am I correct?

No, just the host part of the URI.

> (In, Squid-2.5.PRE6 line 2229)I also puzzled that in client_side.c, function clientProcessRequest2,
> what is the meaning and function of the following statements?
>
> if (r->flags.nocache)
> ipcacheInvalidate(r->host);

From the code line immediately infront of the above:

    /* Release negatively cached IP-cache entries on reload */

reload == the reload button in your browser

Regards
Henrik
Received on Thu Apr 18 2002 - 02:22:06 MDT

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