Re: [SQU] cookies

From: Glen Blundell <gmb@dont-contact.us>
Date: Wed, 3 Jan 2001 13:38:34 +0930

User_Agent header restriction is all that comes up in the logs.

I recompiled etc, and when doing the client -H check I now get the cookie:
foo=bar line..

but I still have cookie problems with certain sites.

----- Original Message -----
From: "Duane Wessels" <wessels@squid-cache.org>
To: "Glen Blundell" <gmb@cpscu.com.au>
Cc: <squid-users@ircache.net>
Sent: Wednesday, January 03, 2001 6:19 AM
Subject: Re: [SQU] cookies

>
>
> On Tue, 2 Jan 2001, Glen Blundell wrote:
>
> > I got this:
> >
> > GET / HTTP/1.0
> > Accept: */*
> > Via: 1.0 waylinux:3128 (Squid/2.3.STABLE4)
> > X-Forwarded-For: 127.0.0.1
> > Host: 127.0.0.1:8888
> > Cache-Control: max-age=259200
> > Connection: keep-alive
> >
> > hmm...there is no "Cookie: " header in there..
> >
> > why would that be? am i missing something stupid?
>
> Maybe you have some additional anonymize_headers lines in your
> config?
>
> You can apply this patch for extra debugging:
>
> Index: http.c
> ===================================================================
> RCS file: /squid/squid/src/http.c,v
> retrieving revision 1.350.2.16
> diff -u -r1.350.2.16 http.c
> --- http.c 2000/06/02 03:09:14 1.350.2.16
> +++ http.c 2001/01/02 20:49:14
> @@ -664,8 +664,10 @@
> while ((e = httpHeaderGetEntry(hdr_in, &pos))) {
> debug(11, 5) ("httpBuildRequestHeader: %s: %s\n",
> strBuf(e->name), strBuf(e->value));
> - if (!httpRequestHdrAllowed(e, &strConnection))
> + if (!httpRequestHdrAllowed(e, &strConnection)) {
> + debug(11,1)("'%s' header denied by anonymize_headers
configuration\n", strBuf(e->name));
> continue;
> + }
> switch (e->id) {
> case HDR_PROXY_AUTHORIZATION:
> /* If we're not doing proxy auth, then it must be passed on */
>
> Duane W.
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Jan 02 2001 - 20:11:37 MST

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