Re: [SQU] cookies

From: Duane Wessels <wessels@dont-contact.us>
Date: Tue, 2 Jan 2001 13:49:51 -0700 (MST)

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 - 13:52:05 MST

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