Re: Fwd: [squid-users] How to strip/ignore header in squid?

From: Chris Robertson <crobertson_at_gci.net>
Date: Wed, 27 May 2009 11:11:05 -0800

Kurt Buff wrote:
> My sincere apologies for not responding sooner...
>
> On Sun, May 17, 2009 at 00:23, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>
>> Please find attached a patch for 3.0 that adds the headers so header_access
>> can remove them.
>>
>> This should apply with -p0, or if not on your version on the current
>> snapshots.
>>
>> Amos
>> --
>> Please be using
>> Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
>> Current Beta Squid 3.1.0.7
>>
>
>
> I cd'ed to /usr/ports/www/squid30/work/squid-3.0.STABLE15/ and saved
> the file as httpheader.patch, with the following results:
>
> ----------
> squid# patch <httpheader.patch
> Hmm... Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |=== modified file 'src/HttpHeader.cc'
> |--- src/HttpHeader.cc 2009-04-14 15:38:39 +0000
> |+++ src/HttpHeader.cc 2009-05-17 07:21:19 +0000
> --------------------------
> Patching file src/HttpHeader.cc using Plan A...
> Hunk #1 succeeded at 124.
>

Good.

> Hmm... The next patch looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |
> |=== modified file 'src/HttpHeader.h'
> |--- src/HttpHeader.h 2009-04-10 07:49:36 +0000
> |+++ src/HttpHeader.h 2009-05-17 07:19:47 +0000
> --------------------------
> Patching file src/HttpHeader.h using Plan A...
> Hunk #1 succeeded at 98.
>

Good.

> done
> ----------
>
> Given my inexperience with this process - what next? As a reminder,
> 'cause I know you're busy, I'm running:
>
> FreeBSD squid.mycompany.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jun
> 30 17:27:53 PDT 2008
> root_at_squid.mycompany.com:/usr/obj/usr/src/sys/GENERIC i386
>
> with squid-3.0.15
>
> I performed a make, but that didn't seem to generate a recompile.
>

make clean && make

> Kurt
>

Chris
Received on Wed May 27 2009 - 19:11:22 MDT

This archive was generated by hypermail 2.2.0 : Thu May 28 2009 - 12:00:01 MDT